Nabarun
78092f5793
Some checks failed
Lint Checks / Run linter (push) Successful in 53s
Publish / Build and publish (push) Successful in 1m30s
Webapp Test / Run webapp test suite (push) Successful in 4m38s
Smoke Test / Run basic test suite (push) Successful in 4m49s
Deploy Test / Run deploy test suite (push) Successful in 5m55s
Fixturenet-Laconicd-Test / Run Laconicd fixturenet and Laconic CLI tests (push) Successful in 13m54s
K8s Deploy Test / Run deploy test suite on kind/k8s (push) Successful in 8m49s
Fixturenet-Eth-Plugeth-Arm-Test / Run an Ethereum plugeth fixturenet test (push) Failing after 3h13m0s
Fixturenet-Eth-Plugeth-Test / Run an Ethereum plugeth fixturenet test (push) Failing after 3h13m0s
Database Test / Run database hosting test on kind/k8s (push) Successful in 10m43s
Container Registry Test / Run contaier registry hosting test on kind/k8s (push) Successful in 4m40s
External Stack Test / Run external stack test suite (push) Successful in 5m16s
Part of [Ability to configure watchers with multiple RPC endpoints](https://www.notion.so/Ability-to-configure-watchers-with-multiple-RPC-endpoints-dc8d3ff4d647404ab718dfd5a4c9035c) Reviewed-on: #822 Co-authored-by: Nabarun <nabarun@deepstacksoft.com> Co-committed-by: Nabarun <nabarun@deepstacksoft.com>
77 lines
2.5 KiB
YAML
77 lines
2.5 KiB
YAML
version: '3.2'
|
|
|
|
services:
|
|
merkl-sushiswap-v3-watcher-db:
|
|
restart: unless-stopped
|
|
image: postgres:14-alpine
|
|
environment:
|
|
- POSTGRES_USER=vdbm
|
|
- POSTGRES_MULTIPLE_DATABASES=merkl-sushiswap-v3-watcher,merkl-sushiswap-v3-watcher-job-queue
|
|
- POSTGRES_EXTENSION=merkl-sushiswap-v3-watcher-job-queue:pgcrypto
|
|
- POSTGRES_PASSWORD=password
|
|
volumes:
|
|
- ../config/postgresql/multiple-postgressql-databases.sh:/docker-entrypoint-initdb.d/multiple-postgressql-databases.sh
|
|
- merkl_sushiswap_v3_watcher_db_data:/var/lib/postgresql/data
|
|
ports:
|
|
- "5432"
|
|
healthcheck:
|
|
test: ["CMD", "nc", "-v", "localhost", "5432"]
|
|
interval: 20s
|
|
timeout: 5s
|
|
retries: 15
|
|
start_period: 10s
|
|
|
|
merkl-sushiswap-v3-watcher-job-runner:
|
|
restart: unless-stopped
|
|
depends_on:
|
|
merkl-sushiswap-v3-watcher-db:
|
|
condition: service_healthy
|
|
image: cerc/watcher-merkl-sushiswap-v3:local
|
|
environment:
|
|
CERC_SCRIPT_DEBUG: ${CERC_SCRIPT_DEBUG}
|
|
CERC_ETH_RPC_ENDPOINTS: ${CERC_ETH_RPC_ENDPOINTS}
|
|
command: ["bash", "./start-job-runner.sh"]
|
|
volumes:
|
|
- ../config/watcher-merkl-sushiswap-v3/watcher-config-template.toml:/app/environments/watcher-config-template.toml
|
|
- ../config/watcher-merkl-sushiswap-v3/start-job-runner.sh:/app/start-job-runner.sh
|
|
ports:
|
|
- "9002:9000"
|
|
healthcheck:
|
|
test: ["CMD", "nc", "-vz", "127.0.0.1", "9000"]
|
|
interval: 20s
|
|
timeout: 5s
|
|
retries: 15
|
|
start_period: 5s
|
|
extra_hosts:
|
|
- "host.docker.internal:host-gateway"
|
|
|
|
merkl-sushiswap-v3-watcher-server:
|
|
restart: unless-stopped
|
|
depends_on:
|
|
merkl-sushiswap-v3-watcher-db:
|
|
condition: service_healthy
|
|
merkl-sushiswap-v3-watcher-job-runner:
|
|
condition: service_healthy
|
|
image: cerc/watcher-merkl-sushiswap-v3:local
|
|
environment:
|
|
CERC_SCRIPT_DEBUG: ${CERC_SCRIPT_DEBUG}
|
|
CERC_ETH_RPC_ENDPOINTS: ${CERC_ETH_RPC_ENDPOINTS}
|
|
command: ["bash", "./start-server.sh"]
|
|
volumes:
|
|
- ../config/watcher-merkl-sushiswap-v3/watcher-config-template.toml:/app/environments/watcher-config-template.toml
|
|
- ../config/watcher-merkl-sushiswap-v3/start-server.sh:/app/start-server.sh
|
|
ports:
|
|
- "127.0.0.1:3007:3008"
|
|
- "9003:9001"
|
|
healthcheck:
|
|
test: ["CMD", "nc", "-vz", "127.0.0.1", "3008"]
|
|
interval: 20s
|
|
timeout: 5s
|
|
retries: 15
|
|
start_period: 5s
|
|
extra_hosts:
|
|
- "host.docker.internal:host-gateway"
|
|
|
|
volumes:
|
|
merkl_sushiswap_v3_watcher_db_data:
|