WorkTracker/docker-compose.yml
2026-03-17 13:53:33 +01:00

20 lines
593 B
YAML

services:
worktracker:
build:
context: .
dockerfile: Dockerfile
image: ${IMAGE_REGISTRY:-worktracker}:${IMAGE_TAG:-latest}
environment:
ASPNETCORE_ENVIRONMENT: Production
UseHttpsRedirection: "false"
CouchbaseLite__Directory: /data/couchbase
ports:
- "8002:8080"
volumes:
- ${WORKTRACKER_DATA_PATH:-./.docker-data/couchbase}:/data/couchbase
restart: unless-stopped
healthcheck:
test: ["CMD-SHELL", "wget -qO- http://127.0.0.1:8080/ >/dev/null 2>&1 || exit 1"]
interval: 30s
timeout: 5s
retries: 3