mirror of
https://github.com/QYG2297248353/appstore-1panel.git
synced 2024-11-15 15:11:55 +08:00
22 lines
690 B
YAML
22 lines
690 B
YAML
networks:
|
|
1panel-network:
|
|
external: true
|
|
|
|
services:
|
|
nezha-dashboard:
|
|
image: ghcr.io/naiba/nezha-dashboard:v0.20.10
|
|
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
|