22 lines
585 B
INI
22 lines
585 B
INI
[Unit]
|
|
Description=Guacamole Postgres Database
|
|
|
|
[Container]
|
|
ContainerName=guac-db
|
|
Image=gitea.iot.cudanet.org/administrator/quadlets/postgres:15-alpine
|
|
Environment=POSTGRES_PASSWORD=guacamole
|
|
Environment=POSTGRES_DB=guacamole_db
|
|
Environment=POSTGRES_USER=guacamole
|
|
Volume=/var/podman/guacamole/guac/db:/var/lib/postgresql/data:Z
|
|
Network=guacamole.network
|
|
# This helps with SELinux/Permissions on some RPi distros
|
|
SecurityLabelDisable=true
|
|
|
|
[Service]
|
|
Restart=always
|
|
# Slow down the restart loop so it doesn't hit the throttle as fast
|
|
RestartSec=5s
|
|
|
|
[Install]
|
|
WantedBy=multi-user.target
|