Add a stack with a compose file
This commit is contained in:
@@ -0,0 +1,23 @@
|
||||
services:
|
||||
bsc:
|
||||
image: ghcr.io/bnb-chain/bsc:1.4.8
|
||||
restart: unless-stopped
|
||||
environment:
|
||||
volumes:
|
||||
- ../config/docker-entrypoint.sh:/bsc/docker-entrypoint.sh
|
||||
- data:/data
|
||||
- config:/bsc/config
|
||||
ports:
|
||||
- 30311:30311
|
||||
- 8545:8545
|
||||
- 8546:8546
|
||||
healthcheck:
|
||||
test: ["CMD", "nc", "-vz", "localhost", "8545"]
|
||||
interval: 5s
|
||||
retries: 5
|
||||
start_period: 10s
|
||||
timeout: 3s
|
||||
|
||||
volumes:
|
||||
data:
|
||||
config:
|
||||
Reference in New Issue
Block a user