Set working_dir to v3 watcher in compose file

This commit is contained in:
IshaVenikar 2024-06-13 19:02:26 +05:30 committed by Nabarun
parent 7adee92f9a
commit b4bb9830be
2 changed files with 3 additions and 1 deletions

View File

@ -30,6 +30,7 @@ services:
environment: environment:
CERC_SCRIPT_DEBUG: ${CERC_SCRIPT_DEBUG} CERC_SCRIPT_DEBUG: ${CERC_SCRIPT_DEBUG}
CERC_ETH_RPC_ENDPOINTS: ${CERC_ETH_RPC_ENDPOINTS} CERC_ETH_RPC_ENDPOINTS: ${CERC_ETH_RPC_ENDPOINTS}
working_dir: /app/packages/v3-watcher
command: ["bash", "./start-job-runner.sh"] command: ["bash", "./start-job-runner.sh"]
volumes: volumes:
- ../config/watcher-sushiswap-v3/watcher-config-template.toml:/app/environments/watcher-config-template.toml - ../config/watcher-sushiswap-v3/watcher-config-template.toml:/app/environments/watcher-config-template.toml
@ -56,6 +57,7 @@ services:
environment: environment:
CERC_SCRIPT_DEBUG: ${CERC_SCRIPT_DEBUG} CERC_SCRIPT_DEBUG: ${CERC_SCRIPT_DEBUG}
CERC_ETH_RPC_ENDPOINTS: ${CERC_ETH_RPC_ENDPOINTS} CERC_ETH_RPC_ENDPOINTS: ${CERC_ETH_RPC_ENDPOINTS}
working_dir: /app/packages/v3-watcher
command: ["bash", "./start-server.sh"] command: ["bash", "./start-server.sh"]
volumes: volumes:
- ../config/watcher-sushiswap-v3/watcher-config-template.toml:/app/environments/watcher-config-template.toml - ../config/watcher-sushiswap-v3/watcher-config-template.toml:/app/environments/watcher-config-template.toml

View File

@ -27,7 +27,7 @@ Edit `network` in the spec file to map container ports to host ports as required
network: network:
ports: ports:
sushiswap-v3-watcher-db: sushiswap-v3-watcher-db:
- '5432' - 15432:5432
sushiswap-v3-watcher-job-runner: sushiswap-v3-watcher-job-runner:
- 9000:9000 - 9000:9000
sushiswap-v3-watcher-server: sushiswap-v3-watcher-server: