All in-repo path references (AGENTS.md, README, old scripts, report artifacts,
test code paths) rewritten in the same commit; focused-test map extended for
.gitignore, old/scripts/*, dankclaw/comfyui/*, and report/* per this repo's
own convention ('add one before committing'). Obsidian wikilinks are
title-based and unaffected.
32 lines
973 B
INI
32 lines
973 B
INI
# Quadlet unit: Gitea PostgreSQL (rootless, boot-persistent).
|
|
#
|
|
# Install path on dankclaw: ~/.config/containers/systemd/gitea-postgres.container
|
|
# Unit name: gitea-postgres.service (podman 5.x drops the container- prefix)
|
|
#
|
|
# The DB password lives in /opt/gitea/.env on the host (mode 0600).
|
|
# This file holds no secrets. See serverAppConfigs-docs/Dankclaw/Gitea.md.
|
|
# The [Service] EnvironmentFile= line lets systemd expand
|
|
# ${GITEA_DB_PASSWORD} in the generated ExecStart.
|
|
|
|
[Unit]
|
|
Description=Gitea PostgreSQL container
|
|
After=network.target
|
|
|
|
[Container]
|
|
ContainerName=gitea-postgres
|
|
Network=gitea.network
|
|
Image=docker.io/library/postgres:16-alpine
|
|
EnvironmentFile=/opt/gitea/.env
|
|
Environment=POSTGRES_USER=gitea
|
|
Environment=POSTGRES_PASSWORD=${GITEA_DB_PASSWORD}
|
|
Environment=POSTGRES_DB=gitea
|
|
Volume=/opt/gitea/data/gitea-postgres:/var/lib/postgresql/data
|
|
|
|
[Service]
|
|
EnvironmentFile=/opt/gitea/.env
|
|
TimeoutStartSec=900
|
|
Restart=always
|
|
|
|
[Install]
|
|
WantedBy=default.target
|