blob: e1102a2623d59d112c64fb996440aa59bd68cef0 (
plain)
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
|
version: '3.5'
services:
app:
image: rusian/heroesapi
container_name: heroeapi
env_file: .env
networks:
- heroeapi
ports:
- "5000:5000"
tty: true
restart: "always"
mongo:
image: mongo:4.4.12-focal
container_name: heroeapi_db
networks:
- heroeapi
restart: always
command: [--auth]
env_file:
- .db.env
volumes:
- ./heroeapi_db:/data/db
ports:
- "27017:27017"
networks:
heroeapi:
driver: bridge
|