mirror of
https://forgejo.ellis.link/continuwuation/continuwuity.git
synced 2026-05-26 20:49:55 +00:00
readability API
This commit is contained in:
@@ -0,0 +1,36 @@
|
|||||||
|
|
||||||
|
[Unit]
|
||||||
|
Description=Readability API
|
||||||
|
Wants=network-online.target
|
||||||
|
After=network-online.target
|
||||||
|
|
||||||
|
[Container]
|
||||||
|
ContainerName=readability-js-server
|
||||||
|
NoNewPrivileges=true
|
||||||
|
Image=docker.io/phpdockerio/readability-js-server:latest
|
||||||
|
# ReadOnly=true
|
||||||
|
Volume=/etc/ssl/certs:/etc/ssl/certs:ro
|
||||||
|
AutoUpdate=registry
|
||||||
|
|
||||||
|
Network=web.network
|
||||||
|
|
||||||
|
Label="traefik.enable=false"
|
||||||
|
|
||||||
|
|
||||||
|
Label="homepage.group=Services"
|
||||||
|
Label="homepage.name=Readability API"
|
||||||
|
Label="homepage.description=readability-js-server API"
|
||||||
|
|
||||||
|
[Service]
|
||||||
|
|
||||||
|
Restart=on-failure
|
||||||
|
RestartSec=5
|
||||||
|
|
||||||
|
TimeoutStopSec=2m
|
||||||
|
TimeoutStartSec=2m
|
||||||
|
|
||||||
|
# StartLimitInterval=1m
|
||||||
|
StartLimitBurst=5
|
||||||
|
|
||||||
|
[Install]
|
||||||
|
WantedBy=default.target
|
||||||
Reference in New Issue
Block a user