# podman-compose.yaml — local development environment # Usage: podman-compose up --build # # Requires a directory to serve. Set ZDDC_DATA_DIR to the path of your # archive root, or mount it manually. # # Note: Use :z volume suffix for SELinux-enabled hosts (RHEL, Fedora, CentOS). services: zddc-server: build: context: . dockerfile: Containerfile image: zddc-server:dev ports: - "8443:8443" # TLS modes (set via ZDDC_TLS_CERT): # empty (default) — self-signed cert generated in memory at startup # ZDDC_TLS_CERT=none — plain HTTP, no TLS (use when reverse proxy handles TLS) # ZDDC_TLS_CERT=/path — load cert from file (also set ZDDC_TLS_KEY) environment: ZDDC_ROOT: /data ZDDC_ADDR: ":8443" ZDDC_LOG_LEVEL: debug ZDDC_INDEX_PATH: .archive # ZDDC_EMAIL_HEADER defaults to X-Auth-Request-Email — uncomment to override. # ZDDC_EMAIL_HEADER: X-Auth-Request-Email volumes: - type: bind source: ${ZDDC_DATA_DIR:-./testdata} target: /data options: z restart: unless-stopped