-
Notifications
You must be signed in to change notification settings - Fork 1
/
docker-compose.yml
66 lines (63 loc) · 1.57 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
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
version: '3'
volumes:
srv:
sql:
services:
postgres:
image: postgres:14-alpine
restart: unless-stopped
env_file:
- .env
volumes:
- "sql:/var/lib/postgresql/data"
redis:
image: redis:alpine
restart: unless-stopped
app:
image: memmos.laas.fr:5000/gepetto/dashboard
restart: unless-stopped
volumes:
- "srv:/srv"
- /srv/dashboard/repositories:/srv/dashboard/repositories
- /srv/dashboard/robotpkg:/srv/dashboard/robotpkg
- /var/run/docker.sock:/var/run/docker.sock
- /etc/ssmtp:/etc/ssmtp
env_file:
- .env
environment:
- DB=postgres
- REDIS=true
networks:
- web
- default
labels:
traefik.enable: "true"
traefik.http.routers.rainboard-app.rule: "Host(`rainboard.${DOMAIN_NAME:-localhost}`)"
queue:
image: memmos.laas.fr:5000/gepetto/dashboard
restart: unless-stopped
volumes:
- "srv:/srv"
- /srv/dashboard/repositories:/srv/dashboard/repositories
- /srv/dashboard/robotpkg:/srv/dashboard/robotpkg
- /var/run/docker.sock:/var/run/docker.sock
- /etc/ssmtp:/etc/ssmtp
env_file:
- .env
environment:
- DB=postgres
- REDIS=true
command: poetry run ./manage.py push_queue
nginx:
image: nim65s/ndh
restart: unless-stopped
volumes:
- "srv:/srv"
networks:
- web
labels:
traefik.enable: "true"
traefik.http.routers.rainboard-ngx.rule: "Host(`rainboard.${DOMAIN_NAME:-localhost}`) && PathPrefix(`/static`, `/media`)"
networks:
web:
external: true