# Single-resource deployment: ONE Civility container + ONE volume. # SQLite database and blobs both live on the mounted volume at /data. # No external Postgres, no S3. # # cp .env.example .env # docker compose up -d --build # # Then visit http://localhost:8080/dashboard. services: civility: build: . ports: - '${PORT:-8080}:8080' environment: PORT: 8080 DATA_DIR: /data CIVILITY_ADMIN_TOKEN: ${CIVILITY_ADMIN_TOKEN:-} CIVILITY_ADMIN_EMAILS: ${CIVILITY_ADMIN_EMAILS:-} CIVILITY_AUTH_SECRET: ${CIVILITY_AUTH_SECRET:-} volumes: # All durable state. Back this up to back up the whole instance. - civility-data:/data restart: unless-stopped volumes: civility-data: