2024-07-17 16:30:13 +08:00
|
|
|
version: "3.8"
|
|
|
|
|
|
|
|
networks:
|
|
|
|
1panel-network:
|
|
|
|
external: true
|
|
|
|
|
|
|
|
services:
|
|
|
|
nezha-dashboard:
|
2024-07-25 01:27:07 +08:00
|
|
|
image: ghcr.io/naiba/nezha-dashboard:v0.18.2
|
2024-07-17 16:30:13 +08:00
|
|
|
container_name: ${CONTAINER_NAME}
|
|
|
|
labels:
|
|
|
|
createdBy: "Apps"
|
|
|
|
restart: always
|
|
|
|
networks:
|
|
|
|
- 1panel-network
|
|
|
|
ports:
|
|
|
|
- ${PANEL_APP_PORT_HTTP}:80
|
|
|
|
- ${PANEL_APP_PORT_GRPC}:${PANEL_APP_PORT_GRPC}
|
|
|
|
volumes:
|
|
|
|
- ${NEZHA_ROOT_PATH}/data:/dashboard/data
|
|
|
|
- ${NEZHA_ROOT_PATH}/static-custom/static:/dashboard/resource/static/custom
|
|
|
|
- ${NEZHA_ROOT_PATH}/theme-custom/template:/dashboard/resource/template/theme-custom
|
|
|
|
- ${NEZHA_ROOT_PATH}/dashboard-custom/template:/dashboard/resource/template/dashboard-custom
|