forked from DeviaVir/zenbot
-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
42 lines (38 loc) · 970 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
40
41
42
version: '3.1'
services:
server:
image: deviavir/zenbot:unstable
volumes:
- ./conf.js:/app/conf.js
- ./extensions:/app/extensions
- ./simulations:/app/simulations
links:
- mongodb
command: [ "trade", "--paper" ]
restart: always
tty: true
depends_on:
- mongodb
environment:
- MONGODB_PORT_27017_TCP_ADDR=mongodb
mongodb:
image: mongo:latest
volumes:
- ./data/db:/data/db
command: mongod --smallfiles --bind_ip=0.0.0.0 --logpath=/dev/null
ports:
- 27017:27017
# 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:
# - "1234:1234"
# environment:
# - CONN_NAME=zenbot_mongodb
# - DB_HOST=mongodb
# - DB_PORT=27017
# command: "npm start"