mirror of
https://github.com/mblanke/Dashboard.git
synced 2026-03-01 12:10:20 -05:00
chore: add .env to gitignore, update .env.example template
This commit is contained in:
32
.env.example
32
.env.example
@@ -1,21 +1,21 @@
|
|||||||
# Docker API
|
# UniFi Controller (UniFi OS)
|
||||||
DOCKER_HOST=http://100.104.196.38:2375
|
UNIFI_HOST=192.168.1.1
|
||||||
|
UNIFI_PORT=443
|
||||||
# UniFi Controller
|
UNIFI_USERNAME=your_unifi_username
|
||||||
UNIFI_HOST=100.104.196.38
|
UNIFI_PASSWORD=your_unifi_password
|
||||||
UNIFI_PORT=8443
|
|
||||||
UNIFI_USERNAME=admin
|
|
||||||
UNIFI_PASSWORD=your_password
|
|
||||||
|
|
||||||
# Synology NAS
|
# Synology NAS
|
||||||
SYNOLOGY_HOST=100.104.196.38
|
SYNOLOGY_HOST=192.168.1.90
|
||||||
SYNOLOGY_PORT=5001
|
SYNOLOGY_PORT=5000
|
||||||
SYNOLOGY_USERNAME=admin
|
SYNOLOGY_USERNAME=your_synology_username
|
||||||
SYNOLOGY_PASSWORD=your_password
|
SYNOLOGY_PASSWORD=your_synology_password
|
||||||
|
|
||||||
# Grafana
|
# Grafana
|
||||||
NEXT_PUBLIC_GRAFANA_HOST=http://100.104.196.38:3000
|
NEXT_PUBLIC_GRAFANA_HOST=https://grafana.example.com
|
||||||
GRAFANA_API_KEY=your_api_key
|
GRAFANA_API_KEY=
|
||||||
|
|
||||||
# API Configuration
|
# Dashboard
|
||||||
NEXT_PUBLIC_API_BASE_URL=http://100.104.196.38:3001
|
NEXT_PUBLIC_API_BASE_URL=http://localhost:3000
|
||||||
|
|
||||||
|
# TLS (set to 0 for self-signed certs like UniFi)
|
||||||
|
NODE_TLS_REJECT_UNAUTHORIZED=0
|
||||||
|
|||||||
4
.gitignore
vendored
4
.gitignore
vendored
@@ -1,6 +1,8 @@
|
|||||||
node_modules
|
node_modules
|
||||||
.next
|
.next
|
||||||
.env*.local
|
.env
|
||||||
|
.env.*
|
||||||
|
!.env.example
|
||||||
dist
|
dist
|
||||||
build
|
build
|
||||||
*.log
|
*.log
|
||||||
|
|||||||
Reference in New Issue
Block a user