forked from whittlem/pycryptobot
-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yaml
49 lines (47 loc) · 1.26 KB
/
docker-compose.yaml
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
43
44
45
46
47
48
49
version: "3.9"
services:
pycrypto:
build:
context: .
container_name: pycrypto
volumes:
- ./market/template/config.json:/app/config.json
- ./market/template/pycryptobot.log:/app/pycryptobot.log
- ./market/template/graphs:/app/graphs
- /etc/localtime:/etc/localtime:ro
environment:
- PYTHONUNBUFFERED=1
deploy:
restart_policy:
condition: on-failure
# Different markets can be specified as below
#
# BTCEUR:
# build:
# context: .
# container_name: BTCEUR
# volumes:
# - ./market/BTCEUR/config.json:/app/config.json
# - ./market/BTCEUR/pycryptobot.log:/app/pycryptobot.log
# - ./market/BTCEUR/graphs:/app/graphs
# - /etc/localtime:/etc/localtime:ro
# environment:
# - PYTHONUNBUFFERED=1
# deploy:
# restart_policy:
# condition: on-failure
#
# ETHEUR:
# build:
# context: .
# container_name: ETHEUR
# volumes:
# - ./market/ETHEUR/config.json:/app/config.json
# - ./market/ETHEUR/pycryptobot.log:/app/pycryptobot.log
# - ./market/ETHEUR/graphs:/app/graphs
# - /etc/localtime:/etc/localtime:ro
# environment:
# - PYTHONUNBUFFERED=1
# deploy:
# restart_policy:
# condition: on-failure