iceshrimp/docs/examples/Podman (quadlet)/iceshrimp-web.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

16 lines
435 B
Text

[Unit]
Description=Iceshrimp container
[Container]
Image=iceshrimp.dev/iceshrimp/iceshrimp:latest
ContainerName=iceshrimp_web
HostName=web
PublishPort=3000:3000
Network=iceshrimp.network
Environment=NODE_ENV=production
Volume=%h/services/iceshrimp/files:/iceshrimp/files:z
Volume=%h/services/iceshrimp/.config:/iceshrimp/.config:ro,z
[Service]
Restart=on-failure
TimeoutStartSec=900
[Install]
WantedBy=multi-user.target default.target