Installation: Add Release-Via-Docker option
This commit is contained in:
parent
e40bedc601
commit
5600634574
7 changed files with 211 additions and 0 deletions
16
installation/release-to-docker/pleroma.service
Normal file
16
installation/release-to-docker/pleroma.service
Normal 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
|
||||
Loading…
Add table
Add a link
Reference in a new issue