forked from DeviaVir/zenbot
-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
39 lines (39 loc) · 959 Bytes
/
docker-compose.yml
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
version: "3.1"
services:
server:
build:
context: .
dockerfile: Dockerfile
image: fculpo/zenbot:latest
volumes:
- ./simulations/:/app/simulations/
- ./conf.js:/app/conf.js:ro
restart: always
tty: true
ports:
- "17365:17365"
depends_on:
- mongodb
environment:
- ZENBOT_MONGODB_HOST=mongodb
stdin_open: true
mongodb:
image: mongo:latest
volumes:
- ./database:/data/db
command: mongod --bind_ip=0.0.0.0 --logpath=/dev/null
# Remove below comments to use this container. "adminMongo is a Web based user interface (GUI) to handle all your MongoDB connections/databases needs."
#
#adminmongo:
# image: mrvautin/adminmongo
# links:
# - mongodb
# tty: true
# ports:
# - "127.0.0.1:1234:1234"
# environment:
# - CONN_NAME=zenbot_mongodb
# - DB_HOST=mongodb
# - DB_PORT=27017
# - HOST=0.0.0.0
# command: "npm start"