Add a stack with a compose file

This commit is contained in:
2024-06-04 11:34:09 +05:30
parent 5bc8318052
commit 55c22b6818
4 changed files with 56 additions and 1 deletions
@@ -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: