-
Notifications
You must be signed in to change notification settings - Fork 15
/
Copy pathdocker-compose.yml
115 lines (105 loc) · 3.09 KB
/
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
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
version: '3.4'
services:
timescale:
image: timescale/timescaledb
ports:
- "5432:5432"
expose:
- "5432"
networks:
- cryptobox
environment:
- POSTGRES_PASSWORD=password
- POSTGRES_USER=postgres
volumes:
- ./timescale_data:/var/lib/postgresql/data
# t2_worker:
# build: ./kryptobot/workers
# command: bash -c "pip install -e . && celery -A kryptobot.workers.t2 worker -l info"
# working_dir: /usr/src/app
# volumes:
# - ./:/usr/src/app
# networks:
# - cryptobox
# harvester_worker:
# build: ./kryptobot/workers
# command: bash -c "pip install -e . && celery -A kryptobot.workers.harvester worker -l info"
# working_dir: /usr/src/app
# volumes:
# - ./:/usr/src/app
# networks:
# - cryptobox
# redbeat:
# build: ./kryptobot/workers
# command: bash -c "pip install -e . && celery -A kryptobot.workers beat -S redbeat.RedBeatScheduler"
# working_dir: /usr/src/app
# volumes:
# # - app:/usr/src/app
# - ./:/usr/src/app
# networks:
# - cryptobox
# all_workers:
# build: ./kryptobot/workers
# command: bash -c "pip install -e . && celery -A kryptobot.workers worker -l info"
# # Can't get Procfile to work
# # command: honcho start
# working_dir: /usr/src/app
# volumes:
# # - app:/usr/src/app
# - ./:/usr/src/app
# networks:
# - cryptobox
# flower:
# build: ./kryptobot/workers
# command: bash -c "pip install -e . && celery -A kryptobot.workers flower --broker=redis://redis:6379/0"
# working_dir: /usr/src/app
# ports:
# - "5555:5555"
# expose:
# - "5555"
# volumes:
# - ./:/usr/src/app
# networks:
# - cryptobox
# rest_api:
# build: ./kryptobot/server
# command: "python ./server/run.py"
# working_dir: /usr/src/app
# ports:
# - "5000:5000"
# expose:
# - "5000"
# volumes:
# - ./kryptobot:/usr/src/app
# networks:
# - cryptobox
redis:
image: 'bitnami/redis:latest'
environment:
- ALLOW_EMPTY_PASSWORD=yes
# - REDIS_PASSWORD=password123
ports:
- '6379:6379'
networks:
- cryptobox
jupyter:
build: .
command: jupyter notebook --ip=0.0.0.0 --allow-root
ports:
- "8888:8888"
- "5000:5000"
- "5555:5555"
working_dir: /usr/src/app/notebooks
expose:
- "8888"
- "5000"
# - "5555"
volumes:
- ./:/usr/src/app
- ./.catalyst:/root/.catalyst
- ./.catalyst_pickles:/root/.catalyst_pickles
networks:
- cryptobox
networks:
cryptobox:
driver: bridge