mirror of
https://github.com/okxlin/appstore.git
synced 2026-09-25 08:01:02 +00:00
33 lines
712 B
YAML
33 lines
712 B
YAML
services:
|
|
wiki-go:
|
|
image: "leomoonstudios/wiki-go:latest"
|
|
container_name: ${CONTAINER_NAME}
|
|
restart: unless-stopped
|
|
networks:
|
|
- 1panel-network
|
|
ports:
|
|
- "${PANEL_APP_BIND_ADDRESS}:${PANEL_APP_PORT_HTTP}:8080/tcp"
|
|
environment:
|
|
- TZ=Asia/Shanghai
|
|
read_only: true
|
|
tmpfs:
|
|
- /tmp
|
|
cap_drop:
|
|
- ALL
|
|
security_opt:
|
|
- no-new-privileges:true
|
|
volumes:
|
|
- "./data:/wiki/data"
|
|
healthcheck:
|
|
test: ["CMD-SHELL", "curl -fsS http://127.0.0.1:8080/ >/dev/null || exit 1"]
|
|
interval: 10s
|
|
timeout: 5s
|
|
start_period: 30s
|
|
retries: 12
|
|
labels:
|
|
createdBy: "Apps"
|
|
|
|
networks:
|
|
1panel-network:
|
|
external: true
|