-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
52 lines (46 loc) · 1.05 KB
/
docker-compose.yml
File metadata and controls
52 lines (46 loc) · 1.05 KB
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
50
51
52
version: '2'
services:
web_app:
image: bluepandatech/sensemirrorengine_web_app:latest
ports:
- 8000:8000
volumes:
- /home/pi/media:/web_app/static/media
depends_on:
- postgres
restart: unless-stopped
nginx:
image: bluepandatech/sensemirrorengine_nginx:latest
ports:
- 80:80
volumes:
- /home/pi/media:/opt/static/media
depends_on:
- web_app
restart: unless-stopped
postgres:
image: arm32v7/postgres:11.1
environment:
- POSTGRES_PASSWORD=mysecretpassword
- POSTGRES_DB=cime
volumes:
- pgdata:/var/lib/postgresql/data
ports:
- 5432:5432
restart: unless-stopped
ui:
image: bluepandatech/sensemirrorengine_ui:latest
privileged: true
volumes:
- /home/pi/media:/ui/assets
depends_on:
- web_app
network_mode: "host"
restart: unless-stopped
watchtower:
image: v2tec/watchtower:armhf-latest
volumes:
- /var/run/docker.sock:/var/run/docker.sock
restart: unless-stopped
volumes:
pgdata: {}