feat: Quadlet 컨테이너 정의 추가
This commit is contained in:
29
wikijs.container
Normal file
29
wikijs.container
Normal file
@@ -0,0 +1,29 @@
|
||||
[Unit]
|
||||
Description=Wiki.js
|
||||
After=network-online.target postgres-main.service
|
||||
Wants=network-online.target
|
||||
Requires=postgres-main.service
|
||||
RequiresMountsFor=/podman
|
||||
|
||||
[Container]
|
||||
ContainerName=wikijs
|
||||
Image=ghcr.io/requarks/wiki:2
|
||||
Network=proxy.network
|
||||
IP=10.89.0.45
|
||||
|
||||
EnvironmentFile=/podman/env/wikijs.env
|
||||
|
||||
Volume=/podman/data/wikijs/data:/wiki/data/content:Z
|
||||
|
||||
HealthCmd=CMD-SHELL curl -sf http://localhost:3000
|
||||
HealthInterval=1h
|
||||
HealthTimeout=10s
|
||||
HealthRetries=3
|
||||
HealthStartPeriod=60s
|
||||
|
||||
[Service]
|
||||
Restart=always
|
||||
RestartSec=5
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
||||
Reference in New Issue
Block a user