forked from drlight17/mta-log-parser
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yaml
More file actions
41 lines (38 loc) · 822 Bytes
/
docker-compose.yaml
File metadata and controls
41 lines (38 loc) · 822 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
39
40
41
# compose file for deploy
version: '3.9'
services:
mlp:
image: drlight17/mta-log-parser:latest
container_name: mta-log-parser
command: /app/run.sh ${COMMAND}
ports:
- ${PORT}:${PORT}
restart: always
volumes:
- ./.env:/app/.env
- /tmp:/tmp
- ${MAIL_LOG_PATH}:${MAIL_LOG_PATH}
depends_on:
- rethinkdb
networks:
- internal
rethinkdb:
image: rethinkdb:2.4
container_name: rethinkdb
ports:
- ${RETHINK_EXP_GUI_PORT}:8080
restart: always
volumes:
- ./:/data
networks:
- internal
networks:
internal:
driver: bridge
ipam:
driver: default
config:
- subnet: "172.20.0.0/16"
driver_opts:
com.docker.network.enable_ipv6: "false"
com.docker.network.bridge.name: mlp_iface