-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
26 lines (25 loc) · 828 Bytes
/
docker-compose.yml
File metadata and controls
26 lines (25 loc) · 828 Bytes
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
version: "3.3"
services:
worker:
image: derhenning/crypto-db:latest
environment:
- DEBUG=false ## true for debug log messages
- SYMBOLS=["BTCUSDT"] ## Symbols as JSON array
- START_DATE=Januar 01, 2020 ## Beginn of time series
- SLEEP_TIME=60 ## Time to wait till next scan in seconds - default 60 seconds
- BINANCE_API_KEY= ## your Binance API Key
- BINANCE_API_SECRET= ## your Binance API Secret
- TIMESCALE_HOST=db
- TIMESCALE_PORT=5432
- TIMESCALE_USERNAME=postgres
- TIMESCALE_PASSWORD=postgres
db:
image: timescale/timescaledb:2.9.1-pg14
environment:
- POSTGRES_PASSWORD=postgres
ports:
- 5432:5432
volumes:
- data:/var/lib/postgresql/data
volumes:
data: