Installation: Add Release-Via-Docker option

This commit is contained in:
Lain Soykaf 2025-12-31 18:52:14 +04:00 committed by Henry Jameson
commit 5600634574
7 changed files with 211 additions and 0 deletions

View file

@ -0,0 +1,16 @@
[Unit]
Description=Pleroma social network (OTP release via Docker glibc shim)
After=network.target docker.service postgresql.service nginx.service
Requires=docker.service
[Service]
Type=simple
WorkingDirectory=/etc/pleroma/container
ExecStart=/usr/bin/docker compose up --build --remove-orphans
ExecStop=/usr/bin/docker compose down
Restart=on-failure
RestartSec=5s
TimeoutStartSec=0
[Install]
WantedBy=multi-user.target