-
Notifications
You must be signed in to change notification settings - Fork 100
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: add containerized localnet (#439)
* chore: remove deprecated localnet script this script is no longer working and has been deprecated by scripts/localnet.sh * feat: update localnet.sh to support container deployments - change to use bash script instead of sh to allow more refined syntax - set archwayd process to listen all addresses instead of localhost - set BINARY path dependent on whether using containers or local * fix: docker-compose update - use image based on TAG env variable, make file will set the tag automatically - enable 26656 also - change to use the new scripts path * feat: update Dockerfile for devs - Update image version to alpine 3.18 - rename the debug image to dev - add bash and jq for dev purposes * feat: update makefile to enable containerized localnet deployment * feat: rename debug image to dev image * chore: update changelog * fix: untag the correct compose command * chore: moving localnet CHANGELOGS to correct place, waiting a release * feat: readme part how to run containerized localnet * feat: add comments to makefile to clarify how localnet commands work * fix: add build to run step in the makefile to fix missing binary'
- Loading branch information
1 parent
2606ed9
commit 6e03b38
Showing
8 changed files
with
82 additions
and
80 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 was deleted.
Oops, something went wrong.
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,17 +1,18 @@ | ||
--- | ||
version: "3" | ||
|
||
services: | ||
node: | ||
image: archwaynetwork/archwayd:latest | ||
build: | ||
context: . | ||
image: ghcr.io/archway-network/archwayd-dev:${TAG} | ||
entrypoint: | ||
- sh | ||
- /opt/localnet.sh | ||
- ${CONTINUE} | ||
ports: | ||
- 9090:9090 | ||
- 26657:26657 | ||
- 26656:26656 | ||
volumes: | ||
- ./contrib/localnet:/opt:z | ||
- ./scripts:/opt:z | ||
- ./contracts:/contracts:z | ||
working_dir: /opt |
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