mirror of
https://github.com/mblanke/Dashboard.git
synced 2026-03-01 04:00:22 -05:00
chore: add .env to gitignore, update .env.example template
This commit is contained in:
42
.env.example
42
.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
|
# Synology NAS
|
||||||
UNIFI_PASSWORD=your_password
|
SYNOLOGY_HOST=192.168.1.90
|
||||||
|
SYNOLOGY_PORT=5000
|
||||||
# Synology NAS
|
SYNOLOGY_USERNAME=your_synology_username
|
||||||
SYNOLOGY_HOST=100.104.196.38
|
SYNOLOGY_PASSWORD=your_synology_password
|
||||||
SYNOLOGY_PORT=5001
|
|
||||||
SYNOLOGY_USERNAME=admin
|
# Grafana
|
||||||
SYNOLOGY_PASSWORD=your_password
|
NEXT_PUBLIC_GRAFANA_HOST=https://grafana.example.com
|
||||||
|
GRAFANA_API_KEY=
|
||||||
# Grafana
|
|
||||||
NEXT_PUBLIC_GRAFANA_HOST=http://100.104.196.38:3000
|
# Dashboard
|
||||||
GRAFANA_API_KEY=your_api_key
|
NEXT_PUBLIC_API_BASE_URL=http://localhost:3000
|
||||||
|
|
||||||
# API Configuration
|
# TLS (set to 0 for self-signed certs like UniFi)
|
||||||
NEXT_PUBLIC_API_BASE_URL=http://100.104.196.38:3001
|
NODE_TLS_REJECT_UNAUTHORIZED=0
|
||||||
|
|||||||
16
.gitignore
vendored
16
.gitignore
vendored
@@ -1,7 +1,9 @@
|
|||||||
node_modules
|
node_modules
|
||||||
.next
|
.next
|
||||||
.env*.local
|
.env
|
||||||
dist
|
.env.*
|
||||||
build
|
!.env.example
|
||||||
*.log
|
dist
|
||||||
.DS_Store
|
build
|
||||||
|
*.log
|
||||||
|
.DS_Store
|
||||||
|
|||||||
Reference in New Issue
Block a user