Skip to content

Commit

Permalink
fix: avoid second axon init in docker-compose
Browse files Browse the repository at this point in the history
  • Loading branch information
Flouse committed Sep 5, 2023
1 parent b89083f commit a5b4a43
Showing 1 changed file with 3 additions and 8 deletions.
11 changes: 3 additions & 8 deletions devtools/chain/docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,21 +2,16 @@ version: '3.8'

services:
axon:
# TODO: update this image to ghcr.io/axonweb3/axon:dev
image: ghcr.io/flouse/axon:dev
image: ghcr.io/axonweb3/axon:dev
ports:
- 8000:8000
- 127.0.0.1:8100:8100
volumes:
- ./config.toml:/app/config.toml
- ./default.db-options:/app/default.db-options
- ./specs/single_node/:/app/single_node_spec/
- ./:/app/devtools/chain
networks:
- axon-net
restart: unless-stopped
command: |
/app/axon init --config=/app/config.toml --chain-spec=/app/single_node_spec/chain-spec.toml
/app/axon run --config=/app/config.toml
# CMD: see https://github.com/axonweb3/axon/blob/b89083/devtools/docker/docker-entrypoint.sh

explorer:
container_name: blockscan
Expand Down

0 comments on commit a5b4a43

Please sign in to comment.