Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
63 changes: 63 additions & 0 deletions cloud/.env.example
Original file line number Diff line number Diff line change
@@ -0,0 +1,63 @@
# =============================================================================
# NEXTCLOUD HOMELAB CLOUD ENVIRONMENT CONFIGURATION
# =============================================================================
# Copy this file to .env and customize the values for your setup

# =============================================================================
# GENERAL SETTINGS
# =============================================================================
TZ=Europe/Warsaw
PUID=1000
PGID=1000
DOMAIN_NAME=fajnachata.club

# =============================================================================
# DATABASE CONFIGURATION (PostgreSQL)
# =============================================================================
POSTGRES_DB=nextcloud
POSTGRES_USER=nextcloud_user
POSTGRES_PASSWORD=your_secure_postgres_password_here

# Additional databases for other services
PAPERLESS_DB_NAME=paperless
BOOKSTACK_DB_NAME=bookstack

# =============================================================================
# REDIS CONFIGURATION
# =============================================================================
REDIS_PASSWORD=your_secure_redis_password_here

# =============================================================================
# NEXTCLOUD CONFIGURATION
# =============================================================================
NEXTCLOUD_ADMIN_USER=admin
NEXTCLOUD_ADMIN_PASSWORD=your_secure_nextcloud_admin_password_here
NEXTCLOUD_TRUSTED_DOMAINS=nextcloud.fajnachata.club,100.92.119.54

# =============================================================================
# PAPERLESS-NGX CONFIGURATION
# =============================================================================
PAPERLESS_SECRET_KEY=your_very_long_secret_key_for_paperless_here_at_least_50_chars
PAPERLESS_ADMIN_USER=admin
PAPERLESS_ADMIN_PASSWORD=your_secure_paperless_admin_password_here

# =============================================================================
# SECURITY NOTES
# =============================================================================
# 1. Generate strong passwords for all services
# 2. Use a password manager to store these credentials
# 3. The PAPERLESS_SECRET_KEY should be at least 50 characters long
# 4. Consider using environment-specific secrets management
# 5. Never commit the actual .env file to version control

# =============================================================================
# GENERATION COMMANDS
# =============================================================================
# Generate secure passwords:
# openssl rand -base64 32
#
# Generate Paperless secret key:
# openssl rand -base64 64
#
# Generate random string:
# head /dev/urandom | tr -dc A-Za-z0-9 | head -c 50
Loading