mirror of
https://iceshrimp.dev/limepotato/jormungandr-bite.git
synced 2024-12-25 09:57:55 -07:00
299a20fb71
Co-authored-by: Jeder <jeder+git@jeder.pl> Co-committed-by: Jeder <jeder+git@jeder.pl>
14 lines
368 B
Text
14 lines
368 B
Text
[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
|