-
Notifications
You must be signed in to change notification settings - Fork 16
/
docker-compose.yml
49 lines (44 loc) · 1.08 KB
/
docker-compose.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
version: "3.8"
x-env: &env
PGID: 1001
PUID: 1001
UMASK: 002
TZ: Asia/Kolkata
services:
home-assistant:
container_name: home-assistant
image: homeassistant/home-assistant
restart: unless-stopped
network_mode: host
depends_on:
- postgres
environment:
<<: *env
volumes:
- /opt/appdata/home-assistant:/config
postgres:
container_name: postgres
image: postgres:14
restart: unless-stopped
user: 1001:1001
shm_size: 128m
ports:
- 127.0.0.1:5432:5432
volumes:
- /opt/appdata/postgres/config.conf:/etc/postgresql/postgresql.conf
- /opt/appdata/postgres/data:/var/lib/postgresql/data
speedtest-tracker:
container_name: speedtest-tracker
image: henrywhitaker3/speedtest-tracker:latest-arm
restart: unless-stopped
ports:
- 8700:80
environment:
<<: *env
OOKLA_EULA_GDPR: true
tmpfs:
- /config/www:size=500m
- /config/log:size=32m
volumes:
- /opt/appdata/speedtest-tracker/app:/config/www/app/Bin
- /opt/appdata/speedtest-tracker:/config