dabo/docker-compose.yml

322 lines
8.5 KiB
YAML
Raw Permalink Normal View History

2023-04-28 17:09:15 +02:00
services:
2023-04-28 20:04:46 +02:00
dabo-bot:
build:
context: .
dockerfile: Dockerfile
restart: unless-stopped
user: 10000:10000
2023-04-28 20:04:46 +02:00
volumes:
2023-05-02 10:49:04 +02:00
- ./dabo:/dabo:ro
2023-05-09 17:04:02 +02:00
- ./strategies:/dabo/strategies:ro
- ./dabo-bot.conf:/dabo/dabo-bot.override.conf
2024-07-14 22:08:59 +02:00
# - ./watch-assets.csv:/dabo/watch-assets.csv
2023-05-02 10:49:04 +02:00
- ./data:/dabo/htdocs:rw
- ./home:/dabo/home:rw
2024-08-25 17:11:39 +02:00
- ./notify.local.conf:/usr/local/etc/notify.conf:ro
2023-05-02 10:49:04 +02:00
- /etc/localtime:/etc/localtime:ro
2024-06-14 19:49:51 +02:00
deploy:
resources:
limits:
cpus: '2'
memory: 1024M
2024-07-07 16:39:38 +02:00
dabo-symbols_ticker:
2024-06-14 19:49:51 +02:00
build:
context: .
dockerfile: Dockerfile
restart: unless-stopped
user: 10000:10000
volumes:
- ./dabo:/dabo:ro
- ./strategies:/dabo/strategies:ro
- ./dabo-bot.conf:/dabo/dabo-bot.override.conf
2024-07-14 22:08:59 +02:00
# - ./watch-assets.csv:/dabo/watch-assets.csv
2024-06-14 19:49:51 +02:00
- ./data:/dabo/htdocs:rw
- ./home:/dabo/home:rw
2024-08-21 22:47:35 +02:00
- ./notify.local.conf:/usr/local/etc/notify.conf:ro
2024-06-14 19:49:51 +02:00
- /etc/localtime:/etc/localtime:ro
2024-07-07 16:39:38 +02:00
entrypoint: /dabo/fetch-symbols_ticker.sh
2024-06-14 19:49:51 +02:00
deploy:
resources:
limits:
cpus: '1'
memory: 512M
2024-07-14 22:08:59 +02:00
dabo-ohlcv-candles-indicators-5m:
2024-07-07 16:39:38 +02:00
build:
context: .
dockerfile: Dockerfile
restart: unless-stopped
user: 10000:10000
volumes:
- ./dabo:/dabo:ro
- ./strategies:/dabo/strategies:ro
- ./dabo-bot.conf:/dabo/dabo-bot.override.conf
- ./data:/dabo/htdocs:rw
- ./home:/dabo/home:rw
2024-08-21 22:47:35 +02:00
- ./notify.local.conf:/usr/local/etc/notify.conf:ro
2024-07-07 16:39:38 +02:00
- /etc/localtime:/etc/localtime:ro
2024-07-14 22:08:59 +02:00
entrypoint: /dabo/fetch-ohlcv-candles-indicators.sh 5m 300
dabo-ohlcv-candles-indicators-15m:
build:
context: .
dockerfile: Dockerfile
restart: unless-stopped
user: 10000:10000
volumes:
- ./dabo:/dabo:ro
- ./strategies:/dabo/strategies:ro
- ./dabo-bot.conf:/dabo/dabo-bot.override.conf
- ./data:/dabo/htdocs:rw
- ./home:/dabo/home:rw
2024-08-21 22:47:35 +02:00
- ./notify.local.conf:/usr/local/etc/notify.conf:ro
2024-07-14 22:08:59 +02:00
- /etc/localtime:/etc/localtime:ro
entrypoint: /dabo/fetch-ohlcv-candles-indicators.sh 15m 900
dabo-ohlcv-candles-indicators-1h:
build:
context: .
dockerfile: Dockerfile
restart: unless-stopped
user: 10000:10000
volumes:
- ./dabo:/dabo:ro
- ./strategies:/dabo/strategies:ro
- ./dabo-bot.conf:/dabo/dabo-bot.override.conf
- ./data:/dabo/htdocs:rw
- ./home:/dabo/home:rw
2024-08-21 22:47:35 +02:00
- ./notify.local.conf:/usr/local/etc/notify.conf:ro
2024-07-14 22:08:59 +02:00
- /etc/localtime:/etc/localtime:ro
entrypoint: /dabo/fetch-ohlcv-candles-indicators.sh 1h 3600
dabo-ohlcv-candles-indicators-4h:
build:
context: .
dockerfile: Dockerfile
restart: unless-stopped
user: 10000:10000
volumes:
- ./dabo:/dabo:ro
- ./strategies:/dabo/strategies:ro
- ./dabo-bot.conf:/dabo/dabo-bot.override.conf
- ./data:/dabo/htdocs:rw
- ./home:/dabo/home:rw
2024-08-21 22:47:35 +02:00
- ./notify.local.conf:/usr/local/etc/notify.conf:ro
2024-07-14 22:08:59 +02:00
- /etc/localtime:/etc/localtime:ro
entrypoint: /dabo/fetch-ohlcv-candles-indicators.sh 4h 3600
dabo-ohlcv-candles-indicators-1d:
build:
context: .
dockerfile: Dockerfile
restart: unless-stopped
user: 10000:10000
volumes:
- ./dabo:/dabo:ro
- ./strategies:/dabo/strategies:ro
- ./dabo-bot.conf:/dabo/dabo-bot.override.conf
- ./data:/dabo/htdocs:rw
- ./home:/dabo/home:rw
2024-08-21 22:47:35 +02:00
- ./notify.local.conf:/usr/local/etc/notify.conf:ro
2024-07-14 22:08:59 +02:00
- /etc/localtime:/etc/localtime:ro
entrypoint: /dabo/fetch-ohlcv-candles-indicators.sh 1d
dabo-ohlcv-candles-indicators-1w:
build:
context: .
dockerfile: Dockerfile
restart: unless-stopped
user: 10000:10000
volumes:
- ./dabo:/dabo:ro
- ./strategies:/dabo/strategies:ro
- ./dabo-bot.conf:/dabo/dabo-bot.override.conf
- ./data:/dabo/htdocs:rw
- ./home:/dabo/home:rw
2024-08-21 22:47:35 +02:00
- ./notify.local.conf:/usr/local/etc/notify.conf:ro
2024-07-14 22:08:59 +02:00
- /etc/localtime:/etc/localtime:ro
entrypoint: /dabo/fetch-ohlcv-candles-indicators.sh 1w
dabo-calc-indicators-hist:
build:
context: .
dockerfile: Dockerfile
restart: unless-stopped
user: 10000:10000
volumes:
- ./dabo:/dabo:ro
- ./strategies:/dabo/strategies:ro
- ./dabo-bot.conf:/dabo/dabo-bot.override.conf
# - ./watch-assets.csv:/dabo/watch-assets.csv
- ./data:/dabo/htdocs:rw
- ./home:/dabo/home:rw
2024-08-21 22:47:35 +02:00
- ./notify.local.conf:/usr/local/etc/notify.conf:ro
2024-07-14 22:08:59 +02:00
- /etc/localtime:/etc/localtime:ro
entrypoint: /dabo/calc-indicators-hist.sh
cpu_shares: 128
2024-07-07 16:39:38 +02:00
deploy:
resources:
limits:
cpus: '1'
2024-07-14 22:08:59 +02:00
memory: 1024M
2024-07-07 16:39:38 +02:00
2024-07-14 22:08:59 +02:00
dabo-calc-levels:
2024-07-07 16:39:38 +02:00
build:
context: .
dockerfile: Dockerfile
restart: unless-stopped
user: 10000:10000
volumes:
- ./dabo:/dabo:ro
- ./strategies:/dabo/strategies:ro
- ./dabo-bot.conf:/dabo/dabo-bot.override.conf
2024-07-14 22:08:59 +02:00
# - ./watch-assets.csv:/dabo/watch-assets.csv
2024-07-07 16:39:38 +02:00
- ./data:/dabo/htdocs:rw
- ./home:/dabo/home:rw
2024-08-21 22:47:35 +02:00
- ./notify.local.conf:/usr/local/etc/notify.conf:rw
2024-07-07 16:39:38 +02:00
- /etc/localtime:/etc/localtime:ro
2024-07-14 22:08:59 +02:00
entrypoint: /dabo/calc-levels.sh
2024-07-07 16:39:38 +02:00
deploy:
resources:
limits:
cpus: '1'
memory: 1024M
2024-06-14 19:49:51 +02:00
dabo-orders:
build:
context: .
dockerfile: Dockerfile
restart: unless-stopped
user: 10000:10000
volumes:
- ./dabo:/dabo:ro
- ./strategies:/dabo/strategies:ro
- ./dabo-bot.conf:/dabo/dabo-bot.override.conf
2024-07-14 22:08:59 +02:00
# - ./watch-assets.csv:/dabo/watch-assets.csv
2024-06-14 19:49:51 +02:00
- ./data:/dabo/htdocs:rw
- ./home:/dabo/home:rw
2024-08-21 22:47:35 +02:00
- ./notify.local.conf:/usr/local/etc/notify.conf:ro
2024-06-14 19:49:51 +02:00
- /etc/localtime:/etc/localtime:ro
entrypoint: /dabo/fetch-orders.sh
deploy:
resources:
limits:
cpus: '0.5'
2024-07-07 16:39:38 +02:00
memory: 512M
2023-04-28 20:04:46 +02:00
2024-05-30 17:32:01 +02:00
dabo-transaction-history:
build:
context: .
dockerfile: Dockerfile
restart: unless-stopped
user: 10000:10000
volumes:
- ./dabo:/dabo:ro
- ./strategies:/dabo/strategies:ro
- ./dabo-bot.conf:/dabo/dabo-bot.override.conf
2024-07-14 22:08:59 +02:00
# - ./watch-assets.csv:/dabo/watch-assets.csv
2024-05-30 17:32:01 +02:00
- ./data:/dabo/htdocs:rw
- ./home:/dabo/home:rw
2024-08-21 22:47:35 +02:00
- ./notify.local.conf:/usr/local/etc/notify.conf:ro
2024-05-30 17:32:01 +02:00
- /etc/localtime:/etc/localtime:ro
2024-06-14 19:49:51 +02:00
entrypoint: /dabo/fetch-transaction-history.sh
2024-07-07 16:39:38 +02:00
cpu_shares: 128
2024-06-14 19:49:51 +02:00
deploy:
resources:
limits:
2024-07-07 16:39:38 +02:00
cpus: '0.5'
memory: 512M
2024-06-14 19:49:51 +02:00
dabo-fetch-coinmarketcapids:
build:
context: .
dockerfile: Dockerfile
restart: unless-stopped
user: 10000:10000
volumes:
- ./dabo:/dabo:ro
- ./strategies:/dabo/strategies:ro
- ./dabo-bot.conf:/dabo/dabo-bot.override.conf
# - ./watch-assets.csv:/dabo/watch-assets.csv
- ./data:/dabo/htdocs:rw
- ./home:/dabo/home:rw
- ./notify.local.conf:/usr/local/etc/notify.conf:ro
- /etc/localtime:/etc/localtime:ro
entrypoint: /dabo/fetch-coinmarketcapids.sh
cpu_shares: 128
deploy:
resources:
limits:
cpus: '0.5'
memory: 512M
2024-07-29 20:09:41 +02:00
# dabo-test:
# build:
# context: .
# dockerfile: Dockerfile
# restart: no
# user: 10000:10000
# volumes:
# - ./dabo:/dabo:ro
# - ./strategies:/dabo/strategies:ro
# - ./dabo-bot.conf:/dabo/dabo-bot.override.conf
## - ./watch-assets.csv:/dabo/watch-assets.csv
# - ./data:/dabo/htdocs:rw
# - ./home:/dabo/home:rw
2024-08-21 22:47:35 +02:00
# - ./notify.local.conf:/usr/local/etc/notify.conf:ro
2024-07-29 20:09:41 +02:00
# - /etc/localtime:/etc/localtime:ro
# entrypoint: /dabo/test.sh
# cpu_shares: 128
# deploy:
# resources:
# limits:
# cpus: '0.5'
# memory: 512M
2024-06-14 19:49:51 +02:00
dabo-webpage:
build:
context: .
dockerfile: Dockerfile
restart: unless-stopped
user: 10000:10000
volumes:
- ./dabo:/dabo:ro
- ./strategies:/dabo/strategies:ro
- ./dabo-bot.conf:/dabo/dabo-bot.override.conf
2024-07-14 22:08:59 +02:00
# - ./watch-assets.csv:/dabo/watch-assets.csv
2024-06-14 19:49:51 +02:00
- ./data:/dabo/htdocs:rw
- ./home:/dabo/home:rw
2024-08-21 22:47:35 +02:00
- ./notify.local.conf:/usr/local/etc/notify.conf:ro
2024-06-14 19:49:51 +02:00
- /etc/localtime:/etc/localtime:ro
entrypoint: /dabo/create_webpage.sh
deploy:
resources:
limits:
cpus: '1'
memory: 128M
2024-05-30 17:32:01 +02:00
2023-05-02 10:49:04 +02:00
dabo-web:
2023-04-28 17:09:15 +02:00
image: nginx:latest
restart: unless-stopped
volumes:
2023-05-02 10:53:48 +02:00
- ./data:/usr/share/nginx/html:ro
2023-04-28 17:09:15 +02:00
- /etc/localtime:/etc/localtime:ro
2024-06-14 19:49:51 +02:00
deploy:
resources:
limits:
cpus: '1'
memory: 128M
2023-04-28 17:09:15 +02:00
2024-08-25 13:58:33 +02:00