ansible-collection-apps/roles/podman_link/templates/home/config/containers/systemd/zammad-postgresql.container
irl ce0eb65c8e
Some checks failed
Ansible Lint Check / lint (push) Failing after 44s
feat: initial commit
2025-11-08 20:55:40 +00:00

19 lines
803 B
Text

[Unit]
PartOf=zammad-storage.target
[Container]
ContainerName=zammad-postgresql
Environment=POSTGRES_PASSWORD={{ podman_link_postgres_zammad_password }}
Environment=POSTGRES_USER={{ podman_link_postgres_zammad_user }}
Environment=POSTGRES_DB={{ podman_link_postgres_zammad_database }}
Environment=POSTGRES_HOST_AUTH_METHOD=scram-sha-256
Environment=POSTGRES_INITDB_ARGS=--auth-host=scram-sha-256
Image=registry.gitlab.com/digiresilience/link/link-stack/postgresql:3.2.0b1
Volume=/home/{{ podman_link_podman_rootless_user }}/postgresql-data:/var/lib/postgresql/data:rw,Z
Volume=/home/{{ podman_link_podman_rootless_user }}/zammad-data:/opt/zammad:rw,z
Volume=/home/{{ podman_link_podman_rootless_user }}/zammad-backup:/var/tmp/zammad:ro,z
Network=link.network
[Service]
Restart=always
Slice=link.slice