synth.download/beeper/etc/containers/systemd/iceshrimp/iceshrimp.container

21 lines
517 B
Text

[Unit]
Description=Iceshrimp.NET
BindsTo=postgresql.service
After=postgresql.service
[Container]
Image=iceshrimp.dev/iceshrimp/iceshrimp.net:dev
ContainerName=iceshrimp
Environment=ICESHRIMP_CONFIG_OVERRIDES=/app/config/configuration.ini
Network=iceshrimp.network
Network=postgresql.network
PublishPort=127.0.0.1:24042:24042
Volume=/var/containers/iceshrimp/data/media:/data/media:Z
Volume=/var/containers/iceshrimp/config:/app/config:ro,Z
[Service]
Restart=always
RestartSec=10s
[Install]
WantedBy=default.target