feat: add docker-compose

This commit is contained in:
hamster1963 2024-09-22 16:50:26 +08:00
parent 49897faef4
commit 119b1ceba9
2 changed files with 14 additions and 0 deletions

5
docker/.env.example Normal file
View File

@ -0,0 +1,5 @@
NezhaBaseUrl=http://0.0.0.0:8008
NezhaAuth=5hAY3QX6Nl9B3UOQgB26KdsdS1dsdUdM
NEXT_PUBLIC_NezhaFetchInterval=5000
NEXT_PUBLIC_ShowFlag=true
NEXT_PUBLIC_DisableCartoon=true

View File

@ -0,0 +1,9 @@
services:
nezha-dash:
container_name: nezha-dash
image: registry.cn-guangzhou.aliyuncs.com/hamster-home/nezha-dash:latest
volumes:
- ./.env:/app/.env
restart: always
ports:
- "4123:3000"