28 lines
751 B
YAML
28 lines
751 B
YAML
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
|
|
#==================================================
|
|
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/shared:/shared
|
|
command: ["-c", "${CONFIG}", "-e", "${ACTIVE_EXCHANGES}", "-a", "${ADMIN_PORT_EXECUTOR}"]
|
|
shm_size: "8gb"
|