Standardize .env.example files with complete variables and empty values
Changes: - Reviewed all docker-compose files to identify required variables - Updated all .env.example files to include ONLY variables used in their respective compose files - Changed all placeholder values to empty strings for cleaner configuration - Fixed variable name inconsistency: DOWNLOADS_DIR -> DOWNLOAD_DIR (to match main .env) - Removed unnecessary variables that aren't used by the compose files All .env.example files now: - Contain only the variables actually used in the stack - Have empty values instead of example placeholders - Match the variable names used in docker-compose files This ensures clean, minimal .env files for each stack without any extraneous variables or confusing placeholder values.
This commit is contained in:
@@ -2,10 +2,16 @@
|
|||||||
# These variables are used for alternative services (Plex, Authentik, etc.)
|
# These variables are used for alternative services (Plex, Authentik, etc.)
|
||||||
|
|
||||||
# Base Configuration
|
# Base Configuration
|
||||||
DOMAIN=example.duckdns.org
|
DOMAIN=
|
||||||
SERVER_HOSTNAME=myserver
|
|
||||||
TZ=America/New_York
|
|
||||||
|
|
||||||
# Directory Configuration
|
# Directory Configuration
|
||||||
STACKS_DIR=/opt/stacks
|
MEDIA_DIR=
|
||||||
MEDIA_DIR=/mnt/media
|
|
||||||
|
# Plex Configuration
|
||||||
|
PLEX_CLAIM=
|
||||||
|
|
||||||
|
# Authentik Configuration
|
||||||
|
AUTHENTIK_SECRET_KEY=
|
||||||
|
AUTHENTIK_DB_NAME=
|
||||||
|
AUTHENTIK_DB_USER=
|
||||||
|
AUTHENTIK_DB_PASSWORD=
|
||||||
|
|||||||
@@ -1,11 +1,19 @@
|
|||||||
# Arcane Stack Environment Variables
|
# Arcane Stack Environment Variables
|
||||||
# These variables are used for Arcane Docker Management UI
|
# These variables are used for Arcane Docker Management UI
|
||||||
|
|
||||||
# Base Configuration
|
# Server Configuration
|
||||||
DOMAIN=example.duckdns.org
|
SERVER_IP=
|
||||||
SERVER_HOSTNAME=myserver
|
|
||||||
TZ=America/New_York
|
# User Configuration
|
||||||
|
PUID=
|
||||||
|
PGID=
|
||||||
|
|
||||||
# Directory Configuration
|
# Directory Configuration
|
||||||
STACKS_DIR=/opt/stacks
|
PROJECTS_DIR=
|
||||||
PROJECTS_DIR=/opt/stacks
|
|
||||||
|
# Arcane Configuration
|
||||||
|
ARCANE_ENCRYPTION_KEY=
|
||||||
|
ARCANE_JWT_SECRET=
|
||||||
|
|
||||||
|
# Optional: Agent Configuration
|
||||||
|
ARCANE_AGENT_TOKEN=
|
||||||
@@ -1,32 +1,26 @@
|
|||||||
# Core Stack Environment Variables
|
# Core Stack Environment Variables
|
||||||
# These variables are used for Traefik, Authelia, and DuckDNS
|
# These variables are used for Traefik, Authelia, DuckDNS, and Pi-hole
|
||||||
|
|
||||||
# Base Configuration
|
# Base Configuration
|
||||||
DOMAIN=example.duckdns.org
|
DOMAIN=
|
||||||
SERVER_HOSTNAME=myserver
|
TZ=
|
||||||
TZ=America/New_York
|
|
||||||
|
# Server Configuration
|
||||||
|
SERVER_IP=
|
||||||
|
|
||||||
|
# User Configuration
|
||||||
|
PUID=
|
||||||
|
PGID=
|
||||||
|
|
||||||
# DuckDNS Configuration
|
# DuckDNS Configuration
|
||||||
DUCKDNS_SUBDOMAINS=yourdomain
|
DUCKDNS_SUBDOMAINS=
|
||||||
DUCKDNS_TOKEN=your-token-here
|
DUCKDNS_TOKEN=
|
||||||
|
|
||||||
# Directory Configuration
|
# Pi-hole Configuration
|
||||||
STACKS_DIR=/opt/stacks
|
PIHOLE_PASSWORD=
|
||||||
|
|
||||||
# Admin Configuration
|
# Authelia Configuration (Generated by script)
|
||||||
DEFAULT_USER=admin
|
|
||||||
DEFAULT_PASSWORD=changeme
|
|
||||||
DEFAULT_EMAIL=admin@example.com
|
|
||||||
|
|
||||||
# Authelia Configuration
|
|
||||||
AUTHELIA_JWT_SECRET=
|
AUTHELIA_JWT_SECRET=
|
||||||
AUTHELIA_SESSION_SECRET=
|
AUTHELIA_SESSION_SECRET=
|
||||||
AUTHELIA_STORAGE_ENCRYPTION_KEY=
|
AUTHELIA_STORAGE_ENCRYPTION_KEY=
|
||||||
AUTHELIA_ADMIN_PASSWORD_HASH=
|
AUTHELIA_ADMIN_PASSWORD_HASH=
|
||||||
|
|
||||||
# SMTP Configuration (Optional)
|
|
||||||
SMTP_HOST=smtp.gmail.com
|
|
||||||
SMTP_PORT=587
|
|
||||||
SMTP_USERNAME=
|
|
||||||
SMTP_PASSWORD=
|
|
||||||
SMTP_SENDER=noreply@example.com
|
|
||||||
|
|||||||
@@ -2,18 +2,15 @@
|
|||||||
# These variables are used for Homepage and Homarr
|
# These variables are used for Homepage and Homarr
|
||||||
|
|
||||||
# Base Configuration
|
# Base Configuration
|
||||||
DOMAIN=example.duckdns.org
|
DOMAIN=
|
||||||
SERVER_HOSTNAME=myserver
|
TZ=
|
||||||
TZ=America/New_York
|
|
||||||
|
|
||||||
# Server Configuration
|
# User Configuration
|
||||||
SERVER_IP=192.168.1.100
|
PUID=
|
||||||
|
PGID=
|
||||||
|
|
||||||
# Directory Configuration
|
# Directory Configuration
|
||||||
STACKS_DIR=/opt/stacks
|
STACKS_DIR=
|
||||||
|
|
||||||
# Homepage Configuration
|
# Homepage Configuration
|
||||||
HOMEPAGE_VAR_TITLE=My Homelab
|
HOMEPAGE_ALLOWED_HOSTS=
|
||||||
|
|
||||||
# Grafana Configuration (if used)
|
|
||||||
GRAFANA_ADMIN_PASSWORD=changeme
|
|
||||||
|
|||||||
@@ -2,9 +2,8 @@
|
|||||||
# These variables are used in docker-compose labels and configuration
|
# These variables are used in docker-compose labels and configuration
|
||||||
|
|
||||||
# Base Configuration
|
# Base Configuration
|
||||||
DOMAIN=example.duckdns.org
|
DOMAIN=
|
||||||
SERVER_HOSTNAME=myserver
|
SERVER_HOSTNAME=
|
||||||
TZ=America/New_York
|
|
||||||
|
|
||||||
# Directory Configuration
|
# Directory Configuration
|
||||||
STACKS_DIR=/opt/stacks
|
STACKS_DIR=
|
||||||
|
|||||||
@@ -2,9 +2,5 @@
|
|||||||
# These variables are used for Home Assistant and related services
|
# These variables are used for Home Assistant and related services
|
||||||
|
|
||||||
# Base Configuration
|
# Base Configuration
|
||||||
DOMAIN=example.duckdns.org
|
DOMAIN=
|
||||||
SERVER_HOSTNAME=myserver
|
TZ=
|
||||||
TZ=America/New_York
|
|
||||||
|
|
||||||
# Directory Configuration
|
|
||||||
STACKS_DIR=/opt/stacks
|
|
||||||
|
|||||||
@@ -1,17 +1,16 @@
|
|||||||
# Infrastructure Stack Environment Variables
|
# Infrastructure Stack Environment Variables
|
||||||
# These variables are used for Pi-hole, Watchtower, Dozzle, Glances
|
# These variables are used for Watchtower, Dozzle, Glances, Code Server
|
||||||
|
|
||||||
# Base Configuration
|
# Base Configuration
|
||||||
DOMAIN=example.duckdns.org
|
DOMAIN=
|
||||||
SERVER_HOSTNAME=myserver
|
TZ=
|
||||||
TZ=America/New_York
|
|
||||||
|
|
||||||
# Pi-hole Configuration
|
|
||||||
PIHOLE_WEBPASSWORD=changeme
|
|
||||||
|
|
||||||
# Code Server Configuration
|
|
||||||
CODE_SERVER_PASSWORD=changeme
|
|
||||||
CODE_SERVER_SUDO_PASSWORD=changeme
|
|
||||||
|
|
||||||
# Directory Configuration
|
# Directory Configuration
|
||||||
STACKS_DIR=/opt/stacks
|
STACKS_DIR=
|
||||||
|
|
||||||
|
# Code Server Configuration
|
||||||
|
CODE_SERVER_PASSWORD=
|
||||||
|
CODE_SERVER_SUDO_PASSWORD=
|
||||||
|
|
||||||
|
# Watchtower Configuration (Optional)
|
||||||
|
WATCHTOWER_NOTIFICATION_URL=
|
||||||
|
|||||||
@@ -2,10 +2,12 @@
|
|||||||
# These variables are used for Sonarr, Radarr, Prowlarr, etc.
|
# These variables are used for Sonarr, Radarr, Prowlarr, etc.
|
||||||
|
|
||||||
# Base Configuration
|
# Base Configuration
|
||||||
DOMAIN=example.duckdns.org
|
DOMAIN=
|
||||||
SERVER_HOSTNAME=myserver
|
TZ=
|
||||||
TZ=America/New_York
|
|
||||||
|
# User Configuration
|
||||||
|
PUID=
|
||||||
|
|
||||||
# Directory Configuration
|
# Directory Configuration
|
||||||
MEDIA_DIR=/mnt/media
|
MEDIA_DIR=
|
||||||
DOWNLOAD_DIR=/mnt/downloads
|
DOWNLOAD_DIR=
|
||||||
|
|||||||
@@ -18,7 +18,7 @@ services:
|
|||||||
volumes:
|
volumes:
|
||||||
- ./sonarr/config:/config
|
- ./sonarr/config:/config
|
||||||
- ${MEDIA_DIR}:/media
|
- ${MEDIA_DIR}:/media
|
||||||
- ${DOWNLOADS_DIR}:/downloads # Large downloads on separate drive
|
- ${DOWNLOAD_DIR}:/downloads # Large downloads on separate drive
|
||||||
environment:
|
environment:
|
||||||
- PUID=${PUID}
|
- PUID=${PUID}
|
||||||
- PGID=${PUID}
|
- PGID=${PUID}
|
||||||
@@ -63,7 +63,7 @@ services:
|
|||||||
volumes:
|
volumes:
|
||||||
- ./radarr/config:/config
|
- ./radarr/config:/config
|
||||||
- ${MEDIA_DIR}:/media
|
- ${MEDIA_DIR}:/media
|
||||||
- ${DOWNLOADS_DIR}:/downloads # Large downloads on separate drive
|
- ${DOWNLOAD_DIR}:/downloads # Large downloads on separate drive
|
||||||
environment:
|
environment:
|
||||||
- PUID=${PUID}
|
- PUID=${PUID}
|
||||||
- PGID=${PUID}
|
- PGID=${PUID}
|
||||||
@@ -152,7 +152,7 @@ services:
|
|||||||
volumes:
|
volumes:
|
||||||
- ./readarr/config:/config
|
- ./readarr/config:/config
|
||||||
- ${MEDIA_DIR}/books:/books
|
- ${MEDIA_DIR}/books:/books
|
||||||
- ${DOWNLOADS_DIR}:/downloads
|
- ${DOWNLOAD_DIR}:/downloads
|
||||||
environment:
|
environment:
|
||||||
- PUID=${PUID}
|
- PUID=${PUID}
|
||||||
- PGID=${PUID}
|
- PGID=${PUID}
|
||||||
@@ -191,7 +191,7 @@ services:
|
|||||||
volumes:
|
volumes:
|
||||||
- ./lidarr/config:/config
|
- ./lidarr/config:/config
|
||||||
- ${MEDIA_DIR}/music:/music
|
- ${MEDIA_DIR}/music:/music
|
||||||
- ${DOWNLOADS_DIR}:/downloads
|
- ${DOWNLOAD_DIR}:/downloads
|
||||||
environment:
|
environment:
|
||||||
- PUID=${PUID}
|
- PUID=${PUID}
|
||||||
- PGID=${PUID}
|
- PGID=${PUID}
|
||||||
@@ -230,7 +230,7 @@ services:
|
|||||||
volumes:
|
volumes:
|
||||||
- ./lazylibrarian/config:/config
|
- ./lazylibrarian/config:/config
|
||||||
- ${MEDIA_DIR}/books:/books
|
- ${MEDIA_DIR}/books:/books
|
||||||
- ${DOWNLOADS_DIR}:/downloads
|
- ${DOWNLOAD_DIR}:/downloads
|
||||||
environment:
|
environment:
|
||||||
- PUID=${PUID}
|
- PUID=${PUID}
|
||||||
- PGID=${PUID}
|
- PGID=${PUID}
|
||||||
@@ -270,7 +270,7 @@ services:
|
|||||||
volumes:
|
volumes:
|
||||||
- ./mylar3/config:/config
|
- ./mylar3/config:/config
|
||||||
- ${MEDIA_DIR}/comics:/comics
|
- ${MEDIA_DIR}/comics:/comics
|
||||||
- ${DOWNLOADS_DIR}:/downloads
|
- ${DOWNLOAD_DIR}:/downloads
|
||||||
environment:
|
environment:
|
||||||
- PUID=${PUID}
|
- PUID=${PUID}
|
||||||
- PGID=${PUID}
|
- PGID=${PUID}
|
||||||
|
|||||||
@@ -2,9 +2,11 @@
|
|||||||
# These variables are used for Jellyfin, Calibre-web, etc.
|
# These variables are used for Jellyfin, Calibre-web, etc.
|
||||||
|
|
||||||
# Base Configuration
|
# Base Configuration
|
||||||
DOMAIN=example.duckdns.org
|
DOMAIN=
|
||||||
SERVER_HOSTNAME=myserver
|
TZ=
|
||||||
TZ=America/New_York
|
|
||||||
|
# User Configuration
|
||||||
|
PUID=
|
||||||
|
|
||||||
# Directory Configuration
|
# Directory Configuration
|
||||||
MEDIA_DIR=/mnt/media
|
MEDIA_DIR=
|
||||||
|
|||||||
@@ -2,12 +2,11 @@
|
|||||||
# These variables are used for Prometheus, Grafana, Uptime Kuma, etc.
|
# These variables are used for Prometheus, Grafana, Uptime Kuma, etc.
|
||||||
|
|
||||||
# Base Configuration
|
# Base Configuration
|
||||||
DOMAIN=example.duckdns.org
|
DOMAIN=
|
||||||
SERVER_HOSTNAME=myserver
|
|
||||||
TZ=America/New_York
|
# User Configuration
|
||||||
|
PUID=
|
||||||
|
PGID=
|
||||||
|
|
||||||
# Grafana Configuration
|
# Grafana Configuration
|
||||||
GRAFANA_ADMIN_PASSWORD=changeme
|
GRAFANA_ADMIN_PASSWORD=
|
||||||
|
|
||||||
# Directory Configuration
|
|
||||||
STACKS_DIR=/opt/stacks
|
|
||||||
|
|||||||
@@ -2,15 +2,26 @@
|
|||||||
# These variables are used for productivity and collaboration tools
|
# These variables are used for productivity and collaboration tools
|
||||||
|
|
||||||
# Base Configuration
|
# Base Configuration
|
||||||
DOMAIN=example.duckdns.org
|
DOMAIN=
|
||||||
SERVER_HOSTNAME=myserver
|
TZ=
|
||||||
TZ=America/New_York
|
|
||||||
|
|
||||||
# Code Server Configuration
|
# User Configuration
|
||||||
CODE_SERVER_PASSWORD=changeme
|
PUID=
|
||||||
|
PGID=
|
||||||
|
|
||||||
|
# Nextcloud Configuration
|
||||||
|
NEXTCLOUD_DIR=
|
||||||
|
NEXTCLOUD_ADMIN_USER=
|
||||||
|
NEXTCLOUD_ADMIN_PASSWORD=
|
||||||
|
NEXTCLOUD_DB_PASSWORD=
|
||||||
|
NEXTCLOUD_DB_ROOT_PASSWORD=
|
||||||
|
|
||||||
|
# WordPress Configuration
|
||||||
|
WORDPRESS_DB_PASSWORD=
|
||||||
|
WORDPRESS_DB_ROOT_PASSWORD=
|
||||||
|
|
||||||
|
# Gitea Configuration
|
||||||
|
GITEA_DB_PASSWORD=
|
||||||
|
|
||||||
# Jupyter Configuration
|
# Jupyter Configuration
|
||||||
JUPYTER_TOKEN=changeme
|
JUPYTER_TOKEN=
|
||||||
|
|
||||||
# Directory Configuration
|
|
||||||
STACKS_DIR=/opt/stacks
|
|
||||||
|
|||||||
@@ -2,6 +2,4 @@
|
|||||||
# These variables are used for Sablier lazy loading service
|
# These variables are used for Sablier lazy loading service
|
||||||
|
|
||||||
# Base Configuration
|
# Base Configuration
|
||||||
DOMAIN=example.duckdns.org
|
DOMAIN=
|
||||||
SERVER_HOSTNAME=myserver
|
|
||||||
TZ=America/New_York
|
|
||||||
|
|||||||
@@ -2,9 +2,14 @@
|
|||||||
# These variables are used for Tdarr, Unmanic
|
# These variables are used for Tdarr, Unmanic
|
||||||
|
|
||||||
# Base Configuration
|
# Base Configuration
|
||||||
DOMAIN=example.duckdns.org
|
DOMAIN=
|
||||||
SERVER_HOSTNAME=myserver
|
TZ=
|
||||||
TZ=America/New_York
|
|
||||||
|
# User Configuration
|
||||||
|
PUID=
|
||||||
|
PGID=
|
||||||
|
|
||||||
# Directory Configuration
|
# Directory Configuration
|
||||||
MEDIA_DIR=/mnt/media
|
MEDIA_DIR=
|
||||||
|
TDARR_TRANSCODE_DIR=
|
||||||
|
UNMANIC_TRANSCODE_DIR=
|
||||||
|
|||||||
@@ -2,9 +2,29 @@
|
|||||||
# These variables are used for backup and utility services
|
# These variables are used for backup and utility services
|
||||||
|
|
||||||
# Base Configuration
|
# Base Configuration
|
||||||
DOMAIN=example.duckdns.org
|
DOMAIN=
|
||||||
SERVER_HOSTNAME=myserver
|
TZ=
|
||||||
TZ=America/New_York
|
|
||||||
|
# User Configuration
|
||||||
|
PUID=
|
||||||
|
PGID=
|
||||||
|
|
||||||
# Directory Configuration
|
# Directory Configuration
|
||||||
STACKS_DIR=/opt/stacks
|
STACKS_DIR=
|
||||||
|
|
||||||
|
# Bitwarden Configuration
|
||||||
|
BITWARDEN_SIGNUPS_ALLOWED=
|
||||||
|
BITWARDEN_INVITATIONS_ALLOWED=
|
||||||
|
BITWARDEN_ADMIN_TOKEN=
|
||||||
|
|
||||||
|
# Form.io Configuration
|
||||||
|
FORMIO_JWT_SECRET=
|
||||||
|
FORMIO_DB_SECRET=
|
||||||
|
|
||||||
|
# SMTP Configuration (Optional for Bitwarden)
|
||||||
|
SMTP_HOST=
|
||||||
|
SMTP_PORT=
|
||||||
|
SMTP_USERNAME=
|
||||||
|
SMTP_PASSWORD=
|
||||||
|
SMTP_FROM=
|
||||||
|
SMTP_SECURITY=
|
||||||
|
|||||||
@@ -2,12 +2,17 @@
|
|||||||
# These variables are used for VPN services
|
# These variables are used for VPN services
|
||||||
|
|
||||||
# Base Configuration
|
# Base Configuration
|
||||||
DOMAIN=example.duckdns.org
|
DOMAIN=
|
||||||
SERVER_HOSTNAME=myserver
|
TZ=
|
||||||
TZ=America/New_York
|
|
||||||
|
|
||||||
# qBittorrent Configuration
|
# User Configuration
|
||||||
QBITTORRENT_WEBUI_PASSWORD=changeme
|
PUID=
|
||||||
|
PGID=
|
||||||
|
|
||||||
# Directory Configuration
|
# Directory Configuration
|
||||||
DOWNLOAD_DIR=/mnt/downloads
|
DOWNLOAD_DIR=
|
||||||
|
|
||||||
|
# VPN Configuration
|
||||||
|
SURFSHARK_USERNAME=
|
||||||
|
SURFSHARK_PASSWORD=
|
||||||
|
VPN_SERVER_COUNTRIES=
|
||||||
|
|||||||
@@ -71,7 +71,7 @@ services:
|
|||||||
network_mode: 'service:gluetun' # Routes through VPN in same compose file
|
network_mode: 'service:gluetun' # Routes through VPN in same compose file
|
||||||
volumes:
|
volumes:
|
||||||
- ./qbittorrent/config:/config
|
- ./qbittorrent/config:/config
|
||||||
- ${DOWNLOADS_DIR}:/downloads
|
- ${DOWNLOAD_DIR}:/downloads
|
||||||
environment:
|
environment:
|
||||||
- PUID=${PUID}
|
- PUID=${PUID}
|
||||||
- PGID=${PGID}
|
- PGID=${PGID}
|
||||||
|
|||||||
@@ -2,14 +2,17 @@
|
|||||||
# These variables are used for wiki and documentation platforms
|
# These variables are used for wiki and documentation platforms
|
||||||
|
|
||||||
# Base Configuration
|
# Base Configuration
|
||||||
DOMAIN=example.duckdns.org
|
DOMAIN=
|
||||||
SERVER_HOSTNAME=myserver
|
TZ=
|
||||||
TZ=America/New_York
|
|
||||||
|
|
||||||
# Wiki Database Configuration
|
# User Configuration
|
||||||
POSTGRES_PASSWORD=changeme
|
PUID=
|
||||||
MEDIAWIKI_DB_PASSWORD=changeme
|
PGID=
|
||||||
BOOKSTACK_DB_PASSWORD=changeme
|
|
||||||
|
|
||||||
# Directory Configuration
|
# BookStack Database Configuration
|
||||||
STACKS_DIR=/opt/stacks
|
BOOKSTACK_DB_PASSWORD=
|
||||||
|
BOOKSTACK_DB_ROOT_PASSWORD=
|
||||||
|
|
||||||
|
# MediaWiki Database Configuration
|
||||||
|
MEDIAWIKI_DB_PASSWORD=
|
||||||
|
MEDIAWIKI_DB_ROOT_PASSWORD=
|
||||||
|
|||||||
Reference in New Issue
Block a user