ZDDC — Zero Day Document Control. A file-naming convention plus five single-file HTML tools (archive, transmittal, classifier, mdedit, landing) and an optional Go HTTP server (zddc-server) with ACL and a virtual archive index. Self-contained, offline-capable, dependency-free. See README.md for an overview, AGENTS.md and ARCHITECTURE.md for the build/release/architecture detail, bootstrap/README.md for the two-level deployment install pattern, and zddc/README.md for the HTTP server.
32 lines
1,019 B
YAML
32 lines
1,019 B
YAML
# 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: X-Email
|
|
volumes:
|
|
- type: bind
|
|
source: ${ZDDC_DATA_DIR:-./testdata}
|
|
target: /data
|
|
options: z
|
|
restart: unless-stopped
|