Skip to content

Commit a8fc5bd

Browse files
author
brady.ouren
committed
fix: get entrypoint in start.sh
1 parent 4cd5dc7 commit a8fc5bd

File tree

3 files changed

+9
-1
lines changed

3 files changed

+9
-1
lines changed

docker/devnet/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,4 +56,4 @@ COPY start.sh .
5656
RUN chmod +x start.sh
5757

5858
# Start the Docker daemon and the devnet
59-
CMD ["sh", "-c", "dockerd-entrypoint.sh && /app/start.sh"]
59+
CMD ["/app/start.sh"]

docker/devnet/docker-compose.yml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,18 +2,25 @@ services:
22
clarinet-devnet:
33
networks:
44
- stacks
5+
restart: on-failure
56
build:
67
context: .
78
# platform: ${BUILDPLATFORM:-linux/amd64}
89
ports:
910
- "3700:3700"
1011
- "20443:20443"
12+
- '20444:20444'
1113
- "18443:18443"
1214
- "5490:5490"
1315
volumes:
1416
- chainstate:/chainstate
17+
- ../stacks-blockchain/:/app/config
18+
- ../stacks-blockchain/.chaindata:/tmp/stacks-blockchain-data
1519
environment:
1620
- CLARINET_VERSION=v2.8.0
21+
- STACKS_EVENT_OBSERVER=host.docker.internal:3700
22+
extra_hosts:
23+
- 'host.docker.internal:host-gateway' # fixes `host.docker.internal` on linux hosts
1724
privileged: true
1825

1926

docker/devnet/start.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,4 +19,5 @@ netstat -tuln | grep 18453
1919
mkdir /app/.cache
2020

2121
# Start Clarinet devnet
22+
sh -c dockerd-entrypoint.sh
2223
/usr/local/bin/clarinet devnet start --no-dashboard --manifest-path /app/Clarinet.toml

0 commit comments

Comments
 (0)