Files
Binance_Altcoin_Monitor/docker-compose.yml
T
2026-05-22 13:06:42 +08:00

22 lines
561 B
YAML
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
services:
monitor:
build: .
image: binance-altcoin-monitor:latest
container_name: binance-altcoin-monitor
restart: unless-stopped
env_file:
- .env
environment:
TZ: Asia/Shanghai
HOST: 0.0.0.0
PORT: 8000
DB_PATH: /app/data/monitor.db
ports:
- "${PORT:-8000}:8000"
volumes:
- ./data:/app/data
- ./.env:/app/.env:ro
# 若需走宿主机 SOCKS5(默认关闭,在 .env 设 PROXY_ENABLED=true
extra_hosts:
- "host.docker.internal:host-gateway"