2024-10-18 16:34:10 +08:00
|
|
|
networks:
|
|
|
|
1panel-network:
|
|
|
|
external: true
|
|
|
|
|
|
|
|
services:
|
|
|
|
nezha-dash:
|
2024-11-28 16:49:49 +08:00
|
|
|
image: hamster1963/nezha-dash:v1.5.5
|
2024-10-18 16:34:10 +08:00
|
|
|
container_name: ${CONTAINER_NAME}
|
|
|
|
labels:
|
|
|
|
createdBy: "Apps"
|
|
|
|
restart: always
|
|
|
|
networks:
|
|
|
|
- 1panel-network
|
|
|
|
ports:
|
|
|
|
- ${PANEL_APP_PORT_HTTP}:3000
|
|
|
|
env_file:
|
2024-11-27 17:54:18 +08:00
|
|
|
- ${GLOBAL_ENV_FILE:-/etc/1panel/envs/global.env}
|
2024-10-18 16:34:10 +08:00
|
|
|
- ${ENV_FILE:-/etc/1panel/envs/default.env}
|
|
|
|
environment:
|
|
|
|
- DefaultLocale=zh
|
|
|
|
- ForceShowAllServers=false
|
|
|
|
- NEXT_PUBLIC_NezhaFetchInterval=5000
|
|
|
|
- NEXT_PUBLIC_ShowFlag=true
|
|
|
|
- NEXT_PUBLIC_DisableCartoon=false
|
|
|
|
- NEXT_PUBLIC_ShowTag=true
|
|
|
|
- NEXT_PUBLIC_ShowNetTransfer=false
|
|
|
|
- NEXT_PUBLIC_ForceUseSvgFlag=false
|
|
|
|
- NEXT_PUBLIC_CustomLogo=https://nezha-cf.buycoffee.top/apple-touch-icon.png
|
|
|
|
- NEXT_PUBLIC_CustomTitle=NezhaDash
|
|
|
|
- NEXT_PUBLIC_CustomDescription=NezhaDash is a dashboard for Nezha.
|