Initial import; migrate some roles from irl.wip
This commit is contained in:
commit
2ba6c6691b
44 changed files with 1573 additions and 0 deletions
21
roles/podman_keycloak/templates/postgres.container
Normal file
21
roles/podman_keycloak/templates/postgres.container
Normal file
|
|
@ -0,0 +1,21 @@
|
|||
[Unit]
|
||||
PartOf=keycloak.target
|
||||
|
||||
[Container]
|
||||
AutoUpdate=registry
|
||||
ContainerName=postgres
|
||||
Environment=POSTGRES_DB={{ podman_keycloak_postgres_keycloak_database }}
|
||||
Environment=POSTGRES_PASSWORD={{ podman_keycloak_postgres_keycloak_password }}
|
||||
Environment=POSTGRES_USER={{ podman_keycloak_postgres_keycloak_username }}
|
||||
Environment=POSTGRES_HOST_AUTH_METHOD=scram-sha-256
|
||||
Environment=POSTGRES_INITDB_ARGS=--auth-host=scram-sha-256
|
||||
Image=docker.io/postgres:17.3
|
||||
Network=keycloak.network
|
||||
Volume=/home/{{ podman_keycloak_podman_rootless_user }}/postgres:/var/lib/postgresql/data:rw,Z
|
||||
|
||||
[Service]
|
||||
Slice=keycloak.slice
|
||||
Restart=always
|
||||
|
||||
[Install]
|
||||
WantedBy=keycloak.target
|
||||
Loading…
Add table
Add a link
Reference in a new issue