mirror of
https://iceshrimp.dev/crimekillz/iceshrimp-161sh.git
synced 2024-11-24 04:59:06 +01:00
15 lines
368 B
Plaintext
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
|