-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
51 lines (44 loc) · 1.04 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
version: '3.9'
volumes:
files_db:
services:
watchtower:
image: containrrr/watchtower
restart: unless-stopped
volumes:
- /var/run/docker.sock:/var/run/docker.sock
# 1800 s == 30 min
command: --interval 1800
admin-panel:
image: ghcr.io/uni-feedback-kiosk/admin-app:latest
restart: unless-stopped
ports:
- "3000:80"
api-proxy:
image: ghcr.io/ntdesmond/gunicorn-nginx-proxy:latest
restart: unless-stopped
ports:
- "8000:80"
environment:
TARGET_HOSTNAME: api:8000
api:
image: ghcr.io/uni-feedback-kiosk/file-server:latest
volumes:
- ./ppfs.yaml:/etc/ppfs.yaml:ro
restart: unless-stopped
depends_on:
- mongodb
logging:
driver: json-file
options:
max-size: 1G
mongodb:
image: mongo:latest
environment:
MONGO_INITDB_ROOT_USERNAME: ${PPFS_MONGODB_USERNAME}
MONGO_INITDB_ROOT_PASSWORD: ${PPFS_MONGODB_PASSWORD}
restart: unless-stopped
volumes:
- files_db:/data/db:rw
logging:
driver: none