mirror of
https://github.com/QuilibriumNetwork/ceremonyclient.git
synced 2026-02-23 11:27:25 +08:00
- Move all Docker-related files to docker/ directory - Consolidate DOCKER-README.md and DOCKER_GUIDE.md into docker/README.md - Update docker/Taskfile.yaml with refined paths and new tasks - Update root Taskfile.yaml to preserve only native build tasks - Update docker-compose.yml to map config to root .config/ - Expand docker/README.md with comprehensive guides and troubleshooting
31 lines
979 B
YAML
31 lines
979 B
YAML
name: quilibrium
|
|
|
|
# See sysctl related warning in README.md.
|
|
# Host configuration changes are required.
|
|
|
|
services:
|
|
node:
|
|
image: ${QUILIBRIUM_IMAGE_NAME:-quilibrium}
|
|
restart: unless-stopped
|
|
environment:
|
|
- DEFAULT_LISTEN_GRPC_MULTIADDR=/ip4/0.0.0.0/tcp/8337
|
|
- DEFAULT_LISTEN_REST_MULTIADDR=/ip4/0.0.0.0/tcp/8338
|
|
- DEFAULT_STATS_MULTIADDR=/dns/stats.quilibrium.com/tcp/443
|
|
ports:
|
|
- '${QUILIBRIUM_P2P_PORT:-8336}:8336/udp' # p2p
|
|
- '127.0.0.1:${QUILIBRIUM_GRPC_PORT:-8337}:8337/tcp' # gRPC
|
|
- '127.0.0.1:${QUILIBRIUM_REST_PORT:-8338}:8338/tcp' # REST
|
|
healthcheck:
|
|
test: [ "CMD", "grpcurl", "-plaintext", "localhost:8337", "list", "quilibrium.node.node.pb.NodeService" ]
|
|
interval: 30s
|
|
timeout: 5s
|
|
retries: 3
|
|
start_period: 15m
|
|
volumes:
|
|
- ${QUILIBRIUM_CONFIG_DIR:-../.config}:/root/.config
|
|
logging:
|
|
driver: "json-file"
|
|
options:
|
|
max-file: "5"
|
|
max-size: 2048m
|