-
Notifications
You must be signed in to change notification settings - Fork 57
/
docker-compose.yml
52 lines (48 loc) · 1.16 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
#
# CRYPTONIC DOCKER-COMPOSE
# ------------------------
#
# Here we configure the application stack
# that is deployed with Cryptonic. This
# includes three elements:
#
# i. Cryptonic App: a Python web-application
# that exposes the Cryptonic API via
# the HTTP protocol.
#
# ii. Cryptonic Cache: a Redis instance that
# works as a caching layer.
#
version: "3"
services:
cache:
image: cryptonic-cache:$CRYPTONIC_VERSION
build:
context: ./cryptonic-cache
dockerfile: ./Dockerfile
volumes:
- $PWD/cache_data:/data
networks:
- cryptonic
cryptonic:
image: cryptonic:$CRYPTONIC_VERSION
build:
context: .
dockerfile: ./Dockerfile
ports:
- "5000:5000"
environment:
- BITCOIN_START_DATE=2017-01-01
- EPOCHS=300
- PERIOD_SIZE=7
volumes:
- ./cryptonic_logs:/logs
- ./models:/models
env_file:
- cryptonic.env
depends_on:
- cache
networks:
- cryptonic
networks:
cryptonic: