We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 0ab4bd7 + 913336b commit f41316bCopy full SHA for f41316b
docker-compose.yml
@@ -1,22 +1,16 @@
1
version: '3'
2
services:
3
- db:
4
- image: mongo
5
- restart: always
6
- ports:
7
- - "27017:27017"
8
- volumes:
9
- - /mnt/mongo/data:/data/db
10
web:
11
- env_file:
12
- - env-config/secret_key.conf
13
- image: nrl-webserver
+ build:
+ context: .
+ env_file: ./env-config/secret_key.env
+ image: nrlweb:v1.0.0
14
restart: always
15
volumes:
16
- - .:/home/app/webapp
17
- - /mnt/logs/:/home/app/webapp/logs
+ - /nrl-mount/logs/:/home/app/webapp/logs
+ - /nrl-mount/nginx-log:/var/log/nginx
+ - /nrl-mount/app-logs:/var/log
+ - /nrl-mount/attachments:/home/app/webapp/public/attachments
18
ports:
19
- "80:80"
20
- - "443:443"
21
- depends_on:
22
- - db
+ - "443:443"
0 commit comments