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.
15 lines
506 B
Plaintext
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
|