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