-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocker-compose.yml
30 lines (29 loc) · 1.47 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
services:
#Nginx Reverse Proxy
proxy:
image: nimstoryfont-proxy
ports:
- "443:443"
- "80:80"
volumes:
- /etc/nginx/certificates:/cert/live/www.aldrune.com
- /etc/nginx/certificates:/cert/archive/www.aldrune.com
- /home/isofruit/dev/nimstoryfont-gui/dist/nimstoryfont-gui:/frontend # new prod frontend
- /tmp:/var/log/nginx # For nginx logs
- /home/isofruit/dev/nimstoryfont/media:/imagemedia # To serve images
- /home/isofruit/Music/session_audio_backup:/session_audio # To serve audio files
- /home/isofruit/Music/session_audio_backup/extended:/session_audio/extended # To serve audio files
- /home/isofruit/dev/nimstoryfont/buildFiles/nimstoryfont/local_only_db_dumps:/db_dumps # For database access
container_name: production_nginx
restart: on-failure
#NimStoryfont backend webserver that receives requests on port 8080
nimstoryfont:
image: nimstoryfont-nimstoryfont
expose:
- "8080" #Differs from ports: -"8080:8080" by not hogging the 8080 port, merely listening on it and thus not causing conflicts with production_nginx
volumes:
- /home/isofruit/dev/nimstoryfont/media:/imagemedia
- /home/isofruit/dev/nimstoryfont/:/database # For database access
- /tmp:/server_logs # For prologue logs
container_name: nswebserver
restart: on-failure