-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #9 from ChorusOne/devpod
Instructions and config changes for running in a devpod
- Loading branch information
Showing
6 changed files
with
103 additions
and
44 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
# this compose file is written and invoked using the guidelines defined here: | ||
# https://github.com/ChorusOne/hopper-build-container/blob/main/docker.md | ||
# so that the project can be run in all docker-outside-of-docker environments | ||
# (devpod, github ci, cloud build, etc) | ||
networks: | ||
default: | ||
external: true | ||
name: ${POSSIM_DOCKER_NETWORK:-${C1_DOCKER_NETWORK}} | ||
|
||
services: | ||
possim: | ||
extends: | ||
file: compose.yaml | ||
service: possim | ||
networks: | ||
default: | ||
aliases: | ||
# use an alias with a .devel tld to avoid DNS resolution | ||
# normally we'd just use the `container-name.` hostname, but the container_name | ||
# is ignored when running using docker compose run command | ||
- ${POSSIM_HOSTNAME} | ||
expose: | ||
# execution wsrpc | ||
- "18546" | ||
# execution rpc | ||
- "18544" | ||
# beacon rest | ||
- "15050" | ||
# beacon teku | ||
- "15051" | ||
# beacon lighthouse | ||
- "15151" | ||
# mev relay | ||
- "38000" |
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,18 @@ | ||
services: | ||
possim: | ||
extends: | ||
file: compose.yaml | ||
service: possim | ||
ports: | ||
# execution wsrpc | ||
- "18546:18546" | ||
# execution rpc | ||
- "18544:18544" | ||
# beacon rest | ||
- "15050:15050" | ||
# beacon teku | ||
- "15051:15051" | ||
# beacon lighthouse | ||
- "15151:15151" | ||
# mev relay | ||
- "38000:38000" |
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,12 @@ | ||
services: | ||
possim: | ||
build: . | ||
volumes: | ||
- ${POSSIM_BINDMOUNT_PATH:-.}/eth_possim:/opt/privatenet/eth_possim:ro | ||
- ${POSSIM_BINDMOUNT_PATH:-.}/Tiltfile:/opt/privatenet/Tiltfile:ro | ||
- ${POSSIM_BINDMOUNT_PATH:-.}/Makefile:/opt/privatenet/Makefile:ro | ||
- ${POSSIM_BINDMOUNT_PATH:-.}/.data:/opt/privatenet/.data:rw | ||
- ${POSSIM_BINDMOUNT_PATH:-.}/tests:/opt/privatenet/tests | ||
- ${POSSIM_BINDMOUNT_PATH:-.}/requirements-dev.txt:/opt/privatenet/requirements-dev.txt | ||
- ${POSSIM_BINDMOUNT_PATH:-.}/pbs_config.yaml:/opt/privatenet/pbs_config.yaml | ||
command: freshrun |
This file was deleted.
Oops, something went wrong.