iceshrimp-161sh/docs/examples/Podman (quadlet)/iceshrimp-db.container
Jeder 299a20fb71
[docs] Add podman (quadlet/systemd) installation guide
Co-authored-by: Jeder <jeder+git@jeder.pl>
Co-committed-by: Jeder <jeder+git@jeder.pl>
2024-01-03 22:57:10 +01:00

15 lines
368 B
Plaintext

[Unit]
Description=Iceshrimp PostgreSQL container
[Container]
Image=docker.io/postgres:15-alpine
ContainerName=iceshrimp_db
HostName=db
Network=iceshrimp.network
EnvironmentFile=%h/services/iceshrimp/.config/docker.env
Volume=%h/services/iceshrimp/db:/var/lib/postgresql/data:Z
[Service]
Restart=on-failure
TimeoutStartSec=900
[Install]
WantedBy=iceshrimp-web.service