version: '3.8' services: orchestrad: build: context: . dockerfile: Dockerfile args: VERSION: ${VERSION:-dev} BUILD_TIME: ${BUILD_TIME:-unknown} GIT_COMMIT: ${GIT_COMMIT:-unknown} image: orchestrad:latest container_name: orchestrad restart: unless-stopped ports: - "18090:18090" volumes: - orchestrad-data:/data environment: - ORCHESTRAD_DATA_PATH=/data - ORCHESTRAD_LOG_LEVEL=info - ORCHESTRAD_SECRET_KEY=${ORCHESTRAD_SECRET_KEY:-} - ORCHESTRAD_HOST=0.0.0.0 - ORCHESTRAD_PORT=18090 # Plain HTTP by default (terminate TLS at your ingress/proxy). Set to true # to have the container manage its own self-signed certificate. - ORCHESTRAD_TLS_ENABLED=false healthcheck: test: ["CMD", "wget", "--no-verbose", "--tries=1", "--spider", "http://localhost:18090/health"] interval: 30s timeout: 10s retries: 3 start_period: 10s volumes: orchestrad-data: driver: local