# Nextcloud Environment Configuration # Generated by Ansible Nextcloud role # ================================================================= # Database Configuration (PostgreSQL via Unix Socket) # ================================================================= POSTGRES_HOST={{ postgresql_unix_socket_directories }} POSTGRES_DB={{ nextcloud_db_name }} POSTGRES_USER={{ nextcloud_db_user }} POSTGRES_PASSWORD={{ nextcloud_db_password }} # ================================================================= # Admin Account (Auto-configured on first run) # ================================================================= NEXTCLOUD_ADMIN_USER={{ nextcloud_admin_user }} NEXTCLOUD_ADMIN_PASSWORD={{ nextcloud_admin_password }} # ================================================================= # Trusted Domains # ================================================================= NEXTCLOUD_TRUSTED_DOMAINS={{ nextcloud_trusted_domains }} # ================================================================= # Redis/Valkey Cache Configuration # ================================================================= # Note: Nextcloud uses REDIS_* variables even for Valkey (Redis-compatible) # Socket access works because infrastructure sockets use 777 permissions # Note: These are disabled since we've encountered slowdowns and issues with redis sessions. Instead nextcloud now uses file sessions. # REDIS_HOST={{ valkey_unix_socket_path }} # REDIS_HOST_PASSWORD={{ valkey_password }} # ================================================================= # Reverse Proxy Configuration # ================================================================= # These settings tell Nextcloud it's behind a reverse proxy (Caddy) OVERWRITEPROTOCOL={{ nextcloud_overwriteprotocol }} OVERWRITEHOST={{ nextcloud_domain }} TRUSTED_PROXIES=127.0.0.1 # ================================================================= # PHP Configuration # ================================================================= PHP_MEMORY_LIMIT={{ nextcloud_php_memory_limit }} PHP_UPLOAD_LIMIT={{ nextcloud_php_upload_limit }} # ================================================================= # Application Settings # ================================================================= # Enable automatic updates during container restart NEXTCLOUD_UPDATE=1