45 lines
1.3 KiB
YAML
45 lines
1.3 KiB
YAML
services:
|
|
|
|
dabo-bot:
|
|
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
|
|
- /usr/local/bin/notify.sh:/usr/local/bin/notify.sh:ro
|
|
- /usr/local/etc/notify.conf:/usr/local/etc/notify.conf:ro
|
|
- /etc/localtime:/etc/localtime:ro
|
|
|
|
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
|
|
- ./watch-assets.csv:/dabo/watch-assets.csv
|
|
- ./data:/dabo/htdocs:rw
|
|
- ./home:/dabo/home:rw
|
|
- /usr/local/bin/notify.sh:/usr/local/bin/notify.sh:ro
|
|
- /usr/local/etc/notify.conf:/usr/local/etc/notify.conf:ro
|
|
- /etc/localtime:/etc/localtime:ro
|
|
entrypoint: /dabo/transaction-history.sh
|
|
|
|
dabo-web:
|
|
image: nginx:latest
|
|
restart: unless-stopped
|
|
volumes:
|
|
- ./data:/usr/share/nginx/html:ro
|
|
- /etc/localtime:/etc/localtime:ro
|
|
|