File tree Expand file tree Collapse file tree 3 files changed +9
-1
lines changed Expand file tree Collapse file tree 3 files changed +9
-1
lines changed Original file line number Diff line number Diff line change @@ -56,4 +56,4 @@ COPY start.sh .
56
56
RUN chmod +x start.sh
57
57
58
58
# Start the Docker daemon and the devnet
59
- CMD ["sh" , "-c" , "dockerd-entrypoint.sh && /app/start.sh" ]
59
+ CMD ["/app/start.sh" ]
Original file line number Diff line number Diff line change @@ -2,18 +2,25 @@ services:
2
2
clarinet-devnet :
3
3
networks :
4
4
- stacks
5
+ restart : on-failure
5
6
build :
6
7
context : .
7
8
# platform: ${BUILDPLATFORM:-linux/amd64}
8
9
ports :
9
10
- " 3700:3700"
10
11
- " 20443:20443"
12
+ - ' 20444:20444'
11
13
- " 18443:18443"
12
14
- " 5490:5490"
13
15
volumes :
14
16
- chainstate:/chainstate
17
+ - ../stacks-blockchain/:/app/config
18
+ - ../stacks-blockchain/.chaindata:/tmp/stacks-blockchain-data
15
19
environment :
16
20
- 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
17
24
privileged : true
18
25
19
26
Original file line number Diff line number Diff line change @@ -19,4 +19,5 @@ netstat -tuln | grep 18453
19
19
mkdir /app/.cache
20
20
21
21
# Start Clarinet devnet
22
+ sh -c dockerd-entrypoint.sh
22
23
/usr/local/bin/clarinet devnet start --no-dashboard --manifest-path /app/Clarinet.toml
You can’t perform that action at this time.
0 commit comments