appstore-1panel/apps/uptime-kuma/1.23.15/docker-compose.yml
Meng Sen 593018d97a 应用标准化
Signed-off-by: Meng Sen <qyg2297248353@gmail.com>
2024-11-27 17:54:18 +08:00

31 lines
788 B
YAML

networks:
1panel-network:
external: true
services:
uptime-kuma:
image: louislam/uptime-kuma:1.23.15
container_name: ${CONTAINER_NAME}
labels:
createdBy: "Apps"
restart: always
networks:
- 1panel-network
ports:
- ${PANEL_APP_PORT_HTTP}:3001
env_file:
- ${GLOBAL_ENV_FILE:-/etc/1panel/envs/global.env}
- ${ENV_FILE:-/etc/1panel/envs/default.env}
volumes:
- ${UPTIME_KUMA_ROOT_PATH}/data:/app/data
- /var/run/docker.sock:/var/run/docker.sock
environment:
- PUID=0
- PGID=0
- UPTIME_KUMA_PORT=3001
- UPTIME_KUMA_HOST=0.0.0.0
- DATA_DIR=/app/data
- NODE_TLS_REJECT_UNAUTHORIZED=0
- UPTIME_KUMA_ALLOW_ALL_CHROME_EXEC=0
- UPTIME_KUMA_WS_ORIGIN_CHECK=cors-like