Files
Stan-Ansible/compose.yaml
T

21 lines
387 B
YAML

services:
stan:
build: .
volumes:
- stan_data:/code/data
ports:
- "8813:8813"
restart: unless-stopped
environment:
STAN: ${STAN}
whiteids: ${whiteids}
rollback: ${rollback}
healthcheck:
test: ["CMD", "curl", "-f", "http://127.0.0.1:8813/healthz"]
interval: 30s
timeout: 5s
retries: 3
volumes:
stan_data: