ops/docker/trading/compose/docker-compose.yml
2024-09-07 12:47:04 -04:00

22 lines
634 B
YAML

version: "3.8"
#==================================================
# Relies on the file `.env` content for varables:
# BOOK
# CONFIG_SERVER
# ACTIVE_EXCHANGES
# Start with the command:
# docker compose up -d --pull
#==================================================
services:
executor:
image: cloud21.cvtt.vpn:5500/executor:latest
container_name: executor.${BOOK}
network_mode: "host"
environment:
- ADMIN_PORT=7222
restart: unless-stopped
volumes:
- /opt/shared:/shared
command: ["-c", "${CONFIG_SERVER}", "-e", "${ACTIVE_EXCHANGES}", "-a", "${ADMIN_PORT}"]
shm_size: "8gb"