Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions build/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -18,4 +18,5 @@ RUN ln -s /root/avalanchego/avalanchego /usr/local/bin

ENTRYPOINT [ "sh", "-c", "exec avalanchego \
--http-host 0.0.0.0 \
--staking-port=$P2P_PORT \
$EXTRA_OPTS" ]
5 changes: 3 additions & 2 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,10 @@ services:
- "chain:/root/.avalanchego/db"
- "validator:/root/.avalanchego/staking"
environment:
- EXTRA_OPTS
- P2P_PORT=21061
- EXTRA_OPT=""
ports:
- "9651"
- "21061:21061/tcp"
restart: unless-stopped
wallet:
build:
Expand Down