forked from unicovoit/unicovoit
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
33 lines (30 loc) · 772 Bytes
/
docker-compose.yml
File metadata and controls
33 lines (30 loc) · 772 Bytes
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
version: '3'
services:
mongo:
image: mongo:5
restart: always
volumes:
- './mongodb:/data/db:Z'
- "./mongo-entrypoint.sh:/docker-entrypoint-initdb.d/1-init-db.sh:Z"
env_file:
- .mongo.env
networks:
- unicovoit
unicovoit:
image: registry.finxol.io/unicovoit:latest
restart: always
ports:
- "3000:3000"
volumes:
- './static/img:/usr/src/unicovoit/static/img:Z,U'
env_file:
- .env
environment:
- MONGO_URL=mongo
- MONGO_PORT=27017
- ADDOK_DOMAIN=addok.unicovoit.fr
networks:
- unicovoit
networks:
unicovoit:
driver: bridge