-
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
38 lines (35 loc) · 719 Bytes
/
docker-compose.yml
File metadata and controls
38 lines (35 loc) · 719 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
34
35
36
37
38
version: '3'
services:
gifendore:
build: .
# command: python -u main.py -D -M
command: python -u main.py production -M
container_name: gifendore
restart: always
env_file:
- .env
networks:
gifendore_net:
ipv4_address: 10.0.1.2
mongodb:
image: mongo:latest
container_name: mongodb
volumes:
- ./mongo/data:/data/db
restart: always
networks:
gifendore_net:
ipv4_address: 10.0.1.3
redisdb:
image: redis:latest
container_name: redisdb
restart: always
networks:
gifendore_net:
ipv4_address: 10.0.1.4
networks:
gifendore_net:
driver: bridge
ipam:
config:
- subnet: 10.0.1.0/29