mirror of
https://github.com/0x1d/drift-keeper.git
synced 2025-12-14 18:35:20 +01:00
* Introduce instances list to scale bots and add config templating * Use env var for wallet address if not provided as path param * Expose SOL price as metric * Update docs * Add auto-swap * Add Panopticon * implement backoff stategy in autoswap * Add retry logic for withdraw and swap * bump drift-sdk, update ctl.sh and docs * Update filler bot, add tx metrics * Add user-metrics * Update build and dashboard
61 lines
1.4 KiB
Smarty
61 lines
1.4 KiB
Smarty
version: '3'
|
|
|
|
services:
|
|
keeper:
|
|
image: ${docker_image}
|
|
restart: unless-stopped
|
|
env_file: .env
|
|
volumes:
|
|
- ./config.yaml:/app/config.yaml
|
|
wallet-tracker:
|
|
image: ${docker_image_wallet_tracker}
|
|
build:
|
|
context: wallet-tracker
|
|
env_file: .env
|
|
restart: unless-stopped
|
|
user-metrics:
|
|
image: wirelos/user-metrics:0.1.0
|
|
env_file: .env
|
|
restart: unless-stopped
|
|
|
|
prometheus:
|
|
image: prom/prometheus
|
|
container_name: prometheus
|
|
command:
|
|
- '--config.file=/etc/prometheus/prometheus.yml'
|
|
- '--web.config.file=/etc/prometheus/web.yml'
|
|
ports:
|
|
- 9090:9090
|
|
restart: unless-stopped
|
|
volumes:
|
|
- ./prometheus:/etc/prometheus
|
|
- prom_data:/prometheus
|
|
node-exporter:
|
|
image: prom/node-exporter:latest
|
|
container_name: node-exporter
|
|
restart: unless-stopped
|
|
volumes:
|
|
- /proc:/host/proc:ro
|
|
- /sys:/host/sys:ro
|
|
- /:/rootfs:ro
|
|
command:
|
|
- '--path.procfs=/host/proc'
|
|
- '--path.rootfs=/rootfs'
|
|
- '--path.sysfs=/host/sys'
|
|
- '--collector.filesystem.mount-points-exclude=^/(sys|proc|dev|host|etc)($$|/)'
|
|
expose:
|
|
- 9100
|
|
grafana:
|
|
image: grafana/grafana
|
|
container_name: grafana
|
|
env_file: .env.monitoring
|
|
ports:
|
|
- 3000:3000
|
|
restart: unless-stopped
|
|
volumes:
|
|
- ./grafana/provisioning:/etc/grafana/provisioning
|
|
- ./grafana/dashboards:/var/lib/grafana/dashboards
|
|
|
|
volumes:
|
|
prom_data:
|