-
Notifications
You must be signed in to change notification settings - Fork 84
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
fd160bc
commit 82e923e
Showing
5 changed files
with
114 additions
and
22 deletions.
There are no files selected for viewing
87 changes: 87 additions & 0 deletions
87
docker/compose/movement-full-node/docker-compose.bardock-follower.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,87 @@ | ||
services: | ||
setup: | ||
image: ghcr.io/movementlabsxyz/movement-full-node-setup:${CONTAINER_REV} | ||
container_name: setup | ||
environment: | ||
DOT_MOVEMENT_PATH: /.movement | ||
# needs to have a connection to the movement-celestia-da-light-node | ||
MOVEMENT_DA_LIGHT_NODE_CONNECTION_PROTOCOL: https | ||
MOVEMENT_DA_LIGHT_NODE_CONNECTION_HOSTNAME: m1-da-light-node.testnet.bardock.movementlabs.xyz | ||
MOVEMENT_DA_LIGHT_NODE_CONNECTION_PORT: 443 | ||
INDEXER_PROCESSOR_POSTGRES_CONNECTION_STRING: postgres://postgres:password@postgres:5432/postgres | ||
AWS_REGION: ${AWS_REGION:?AWS_REGION is not set} | ||
AWS_ACCESS_KEY_ID: ${AWS_ACCESS_KEY_ID} | ||
AWS_SECRET_ACCESS_KEY: ${AWS_SECRET_ACCESS_KEY} | ||
MOVEMENT_SYNC: follower::follower-test-$MOVEMENT_SHARED_RANDOM_1<=>{maptos,maptos-storage,movement-da-db}/** | ||
MAYBE_RUN_LOCAL: "false" | ||
volumes: | ||
- ${DOT_MOVEMENT_PATH}:/.movement | ||
# mount if exists | ||
- ~/.aws/:/root/.aws:ro | ||
|
||
healthcheck: | ||
test: [ "CMD-SHELL", "echo 'health check'" ] | ||
retries: 10 | ||
interval: 10s | ||
timeout: 5s | ||
|
||
# turn off underlying da light nodes | ||
celestia-light-node: | ||
image: busybox | ||
container_name: celestia-light-node | ||
command: sleep infinity | ||
environment: | ||
- DOT_MOVEMENT_PATH=/.movement | ||
- CELESTIA_RPC_ADDRESS=celestia-light-node:26657 | ||
volumes: | ||
- ${DOT_MOVEMENT_PATH}:/.movement | ||
depends_on: | ||
setup: | ||
condition: service_healthy | ||
healthcheck: | ||
test: [ "CMD-SHELL", "echo 'health check'" ] | ||
retries: 3 | ||
start_period: 3s | ||
restart: on-failure:3 | ||
|
||
# turn off celestia-light-node-synced | ||
celestia-light-node-synced: | ||
image: busybox | ||
container_name: celestia-light-node-synced | ||
command: echo "No sync check when following." | ||
environment: | ||
- DOT_MOVEMENT_PATH=/.movement | ||
volumes: | ||
- ${DOT_MOVEMENT_PATH}:/.movement | ||
depends_on: | ||
celestia-light-node: | ||
condition: service_healthy | ||
|
||
# turn off movement-celestia-da-light-node | ||
movement-celestia-da-light-node: | ||
image: busybox | ||
container_name: movement-celestia-da-light-node | ||
command: sleep infinity | ||
healthcheck: | ||
test: [ "CMD-SHELL", "echo 'health check'" ] | ||
retries: 3 | ||
start_period: 3s | ||
|
||
# turn off movement-faucet-service | ||
movement-faucet-service: | ||
image: busybox | ||
container_name: movement-faucet-service | ||
command: sleep infinity | ||
healthcheck: | ||
test: [ "CMD-SHELL", "echo 'health check'" ] | ||
retries: 3 | ||
start_period: 3s | ||
|
||
movement-full-node: | ||
environment: | ||
ETH_RPC_CONNECTION_PROTOCOL: https | ||
ETH_RPC_CONNECTION_HOSTNAME: ethereum-holesky-rpc.publicnode.com | ||
ETH_RPC_CONNECTION_PORT: 443 | ||
ETH_WS_CONNECTION_PROTOCOL: wss | ||
ETH_WS_CONNECTION_HOSTNAME: ethereum-holesky-rpc.publicnode.com | ||
ETH_WS_CONNECTION_PORT: 443 |
Empty file.
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