-
Notifications
You must be signed in to change notification settings - Fork 20
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'main' into blast-stack
- Loading branch information
Showing
37 changed files
with
822 additions
and
242 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,6 @@ | ||
Change this file to trigger running the fixturenet-laconicd-test CI job | ||
Trigger | ||
Trigger | ||
Trigger | ||
Trigger | ||
Trigger |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
76 changes: 76 additions & 0 deletions
76
stack_orchestrator/data/compose/docker-compose-watcher-ajna.yml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,76 @@ | ||
version: '3.2' | ||
|
||
services: | ||
ajna-watcher-db: | ||
restart: unless-stopped | ||
image: postgres:14-alpine | ||
environment: | ||
- POSTGRES_USER=vdbm | ||
- POSTGRES_MULTIPLE_DATABASES=ajna-watcher,ajna-watcher-job-queue | ||
- POSTGRES_EXTENSION=ajna-watcher-job-queue:pgcrypto | ||
- POSTGRES_PASSWORD=password | ||
volumes: | ||
- ../config/postgresql/multiple-postgressql-databases.sh:/docker-entrypoint-initdb.d/multiple-postgressql-databases.sh | ||
- ajna_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 | ||
|
||
ajna-watcher-job-runner: | ||
restart: unless-stopped | ||
depends_on: | ||
ajna-watcher-db: | ||
condition: service_healthy | ||
image: cerc/watcher-ajna:local | ||
environment: | ||
CERC_SCRIPT_DEBUG: ${CERC_SCRIPT_DEBUG} | ||
CERC_ETH_RPC_ENDPOINT: ${CERC_ETH_RPC_ENDPOINT} | ||
command: ["bash", "./start-job-runner.sh"] | ||
volumes: | ||
- ../config/watcher-ajna/watcher-config-template.toml:/app/environments/watcher-config-template.toml | ||
- ../config/watcher-ajna/start-job-runner.sh:/app/start-job-runner.sh | ||
ports: | ||
- "9000" | ||
healthcheck: | ||
test: ["CMD", "nc", "-v", "localhost", "9000"] | ||
interval: 20s | ||
timeout: 5s | ||
retries: 15 | ||
start_period: 5s | ||
extra_hosts: | ||
- "host.docker.internal:host-gateway" | ||
|
||
ajna-watcher-server: | ||
restart: unless-stopped | ||
depends_on: | ||
ajna-watcher-db: | ||
condition: service_healthy | ||
ajna-watcher-job-runner: | ||
condition: service_healthy | ||
image: cerc/watcher-ajna:local | ||
environment: | ||
CERC_SCRIPT_DEBUG: ${CERC_SCRIPT_DEBUG} | ||
CERC_ETH_RPC_ENDPOINT: ${CERC_ETH_RPC_ENDPOINT} | ||
command: ["bash", "./start-server.sh"] | ||
volumes: | ||
- ../config/watcher-ajna/watcher-config-template.toml:/app/environments/watcher-config-template.toml | ||
- ../config/watcher-ajna/start-server.sh:/app/start-server.sh | ||
ports: | ||
- "3008" | ||
- "9001" | ||
healthcheck: | ||
test: ["CMD", "nc", "-v", "localhost", "3008"] | ||
interval: 20s | ||
timeout: 5s | ||
retries: 15 | ||
start_period: 5s | ||
extra_hosts: | ||
- "host.docker.internal:host-gateway" | ||
|
||
volumes: | ||
ajna_watcher_db_data: |
Oops, something went wrong.