Skip to content

Commit

Permalink
get all containers working alongside each other
Browse files Browse the repository at this point in the history
  • Loading branch information
cmwaters committed Nov 20, 2024
1 parent f34fd5e commit b5e0a83
Show file tree
Hide file tree
Showing 10 changed files with 26 additions and 8 deletions.
13 changes: 13 additions & 0 deletions docker-compose.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
services:
beacond:
image: beacond:latest
container_name: beacond
environment:
- TESTAPP_FILES_DIR=/beacon-kit/testing/files # Add the actual path
- JWT_SECRET_PATH=${TESTAPP_FILES_DIR}/jwt.hex
Expand Down Expand Up @@ -78,6 +79,18 @@ services:
networks:
- beacon-network

simapp-validator:
image: celestiaorg/celestia-zk-ibc-demo:latest
container_name: simapp-validator
volumes:
- ./.tmp/simapp-validator:/home/celestia
- ./testing/files/simapp-validator:/testapp_files
entrypoint: /testapp_files/entrypoint.sh
ports:
- "5123:26657"
networks:
- beacon-network

networks:
beacon-network:
driver: bridge
Expand Down
4 changes: 1 addition & 3 deletions docker/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -48,11 +48,9 @@ RUN apk update && apk add --no-cache \
# Copy in the txsim binary
COPY --from=builder /celestia_zkevm_ibc_demo/build/simd /bin/simd

COPY --chown=${USER_NAME}:${USER_NAME} ../testing/files/simapp-validator/entrypoint.sh /opt/entrypoint.sh

USER ${USER_NAME}

# Set the working directory to the home directory.
WORKDIR ${CELESTIA_HOME}

ENTRYPOINT [ "/bin/bash", "/opt/entrypoint.sh" ]
CMD [ "/bin/simd" ]
2 changes: 1 addition & 1 deletion ibc/lightclients/groth16/groth16.pb.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion testing/files/celestia-bridge/keys/NJ3XILLTMVRXEZLUFZVHO5A
Original file line number Diff line number Diff line change
@@ -1 +1 @@
{"body":"8fCADMkIWwIn7/2tpc908N6AK7Iveqll569YrDt/PvQ="}
{"body":"+dvYtXHEU8AZy3xS0cQ6QcyeNkdPFqIuXSbpxf+AdHw="}
1 change: 1 addition & 0 deletions testing/files/celestia-bridge/keys/OAZHALLLMV4Q
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
{"body":"CAESQKyMVVBDjAc1cKl1olk8pKEA1tB74RLKvcJJEOvR5Dfxt4lFMn7l3+BGm947KuuU3oe7AKCnvBxfo756ck4F7X4="}
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
eyJhbGciOiJQQkVTMi1IUzI1NitBMTI4S1ciLCJjcmVhdGVkIjoiMjAyNC0xMS0yMCAxMzo0MjozNC4xMjgxMjQgKzAxMDAgQ0VUIG09KzAuMTM3MDA3NTAxIiwiZW5jIjoiQTI1NkdDTSIsInAyYyI6ODE5MiwicDJzIjoickNTYVp4NHdBUUNQUks3ZCJ9.VdehOzdKEW8Nr1DzW5eD27Pq2W3WiaF9JvlaNlKJAQQshBQlOOWPdQ.6zbw9EECxOZ6yKW4.R6Q4kIHiaZetT8xatCgfmfTG34RE43RYrg_0hrJwHLQjPMROi9IoNAvPSlKnTyB2QoankkrGNA0dQpYQ4Dz6OoKlEJqqZkxRhGgQ7YcAMe1ONAM_hMoWSAohvzoCF-qAGIW5bPhHYVons_fAsBUMKmLXyMl5dunaxO_85fxVFKe5DhvuuBvZEZ450vx5dzpPbGlWQDX0O_nCJG-uKngfyv3pUaXewQHZ0mcIXOjdNCvlXSp_ad7RW_8AQ6yITg.NaV23QFameJqrV0YokWchg

This file was deleted.

Original file line number Diff line number Diff line change
@@ -1 +1 @@
eyJhbGciOiJQQkVTMi1IUzI1NitBMTI4S1ciLCJjcmVhdGVkIjoiMjAyNC0xMS0yMCAxMjowNjozOC42Njg3NDYgKzAxMDAgQ0VUIG09KzAuMTkyMjg5NTg0IiwiZW5jIjoiQTI1NkdDTSIsInAyYyI6ODE5MiwicDJzIjoidDFWdUFQOS1VeWhERE1zSiJ9.tfjEIron_5xwylACiFfZDfOAcOCyHfl6B8TNqffbGszh8bQFgSCAhg.UvWXnSafL6Sikg3Z.O6Q8z5jND2aq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uvD1J2sa7XkCVXmgjPhM0tgS4PijsA6EkBi_wBQ6lv8-llfMRnZljDQOneqxIuKPG80XNIhHyIcZwD2RRFBtGWdDvXvEDkwrG4ZUBomzGTn4WsY5D1JHLjiqfy6KOl4qQ5YthFbhl58rKEmZ-whwG3DB.wMpFAieZ4gF1kLeerwbCvw
2 changes: 1 addition & 1 deletion testing/files/da_auth_token
Original file line number Diff line number Diff line change
@@ -1 +1 @@
eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJBbGxvdyI6WyJwdWJsaWMiLCJyZWFkIiwid3JpdGUiLCJhZG1pbiJdfQ._0UzGBYz3rBWtcWUXXuKCCNc_5i6UQHVOnaQFqv2Zrc
eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJBbGxvdyI6WyJwdWJsaWMiLCJyZWFkIiwid3JpdGUiLCJhZG1pbiJdfQ.qxoN_a-k7aZZE77VSpfgyvI_0eNvJ_OgBsT35zxUQnQ
6 changes: 6 additions & 0 deletions testing/files/simapp-validator/entrypoint.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
#!/bin/bash

# Copy config files from testing/files/celestia-validator to .tmp directory
cp -r /testapp_files/* /home/celestia/

exec /bin/simd start --home /home/celestia

0 comments on commit b5e0a83

Please sign in to comment.