Files
semaphore/semaphore-container-database.conf
zpericic 2e971845d8 Initial semaphore 2.19.8 package with service, container and postgresql subpackages
Semaphore UI packaged from the upstream community (MIT) release
binaries, following the gitea packaging pattern: native systemd service
and Podman quadlet variants (mutually exclusive), with an optional
PostgreSQL backend via quadlet drop-ins. SQLite is the default
database; session/encryption secrets are generated into
/etc/semaphore/env on first install.
2026-08-18 12:22:56 +02:00

15 lines
506 B
Plaintext

# Switches the semaphore container from the default SQLite database to
# the semaphore-db PostgreSQL container running in the same pod.
# Credentials must match
# /etc/containers/systemd/semaphore-db.container.d/credentials.conf.
[Unit]
Wants=semaphore-db.service
After=semaphore-db.service
[Container]
Environment=SEMAPHORE_DB_DIALECT=postgres
Environment=SEMAPHORE_DB_HOST=127.0.0.1:5432
Environment=SEMAPHORE_DB_USER=semaphore
Environment=SEMAPHORE_DB_PASS=semaphore
Environment=SEMAPHORE_DB=semaphore