config (for all trading images) is made more flexible, docker compose initial
This commit is contained in:
@@ -1,5 +1,6 @@
|
||||
BOOK=ALPACA-TEST-BOOK-01
|
||||
CONFIG=http://cloud23.cvtt.vpn:6789/apps/cvtt_eqt_alpaca
|
||||
CONFIG=/config/cvtt_eqty_alpaca.cfg
|
||||
ACTIVE_EXCHANGES=ALPACA_SNDBX-MDPORTAL
|
||||
#
|
||||
ADMIN_PORT_EXECUTOR=7222
|
||||
|
||||
|
||||
@@ -6,7 +6,7 @@ version: "3.8"
|
||||
# ACTIVE_EXCHANGES
|
||||
# ADMIN_PORT_EXECUTOR
|
||||
# Start with the command:
|
||||
# docker compose up -d --pull
|
||||
# docker compose up -d --pull=always
|
||||
#==================================================
|
||||
services:
|
||||
redis:
|
||||
@@ -22,6 +22,8 @@ services:
|
||||
depends_on:
|
||||
- redis
|
||||
volumes:
|
||||
- /opt/shared:/shared
|
||||
- /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"
|
||||
|
||||
Reference in New Issue
Block a user