From 1ec4e930c4cea8966017ae6126da80efa031cf42 Mon Sep 17 00:00:00 2001 From: thomas Date: Mon, 28 Jul 2025 10:18:27 +0000 Subject: [PATCH] =?UTF-8?q?docmost/.env=20hinzugef=C3=BCgt?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- docmost/.env | 100 +++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 100 insertions(+) create mode 100644 docmost/.env diff --git a/docmost/.env b/docmost/.env new file mode 100644 index 0000000..32fd45d --- /dev/null +++ b/docmost/.env @@ -0,0 +1,100 @@ +# ----------------------------------------------------------------------------- +# DocMost Environment Variables Template +# +# This file contains environment variables for your DocMost Docker Compose setup. +# Fill in the values for your specific deployment. +# ----------------------------------------------------------------------------- + +# --- DocMost Application Settings --- +# APP_URL: The public URL where your DocMost instance will be accessible (e.g., https://docmost.yourdomain.com) +# Ensure this matches your reverse proxy configuration if you use one. +APP_URL= + +# APP_PORT: The host port that will be mapped to the container's internal port 3000. +# Example: 3033 +APP_PORT= + +# APP_SECRET: A unique, long, and random string used for application security (e.g., for session encryption). +# Generate a strong, random string (e.g., using `openssl rand -base64 32`). +APP_SECRET= + +# --- Docker Images (Informational - usually fixed in docker-compose.yml) --- +# DOCMOST_IMAGE: The Docker image used for the DocMost application. +# DOCMOST_IMAGE=docmost/docmost:latest + +# POSTGRES_IMAGE: The Docker image used for the PostgreSQL database. +# POSTGRES_IMAGE=postgres:16-alpine + +# REDIS_IMAGE: The Docker image used for the Redis server. +# REDIS_IMAGE=redis:7.2-alpine + +# --- Database Settings (PostgreSQL) --- + +# DB_HOST: The hostname or IP address of the PostgreSQL database. +# If running as a Docker service in the same compose file, use the service name. +# Example: docmost-db +DB_HOST=docmost-db + +# DB_PORT: The port of the PostgreSQL database. +# Default for PostgreSQL is 5432. +DB_PORT=5432 + +# POSTGRES_DB: The name of the PostgreSQL database to be created. +# Default: docmost +POSTGRES_DB=docmost + +# POSTGRES_USER: The username for the PostgreSQL database. +# Default: docmost +POSTGRES_USER=docmost + +# POSTGRES_PASSWORD: The password for the PostgreSQL database user. +# Make sure this is a strong, unique password. +POSTGRES_PASSWORD= + +# --- Redis Settings --- +# REDIS_HOST: The hostname or IP address of the Redis server. +# If running as a Docker service in the same compose file, use the service name. +# Example: docmost-redis +REDIS_HOST=docmost-redis + +# REDIS_PORT: The port of the Redis server. +# Default for Redis is 6379. +REDIS_PORT=6379 + +# --- Email (SMTP) Settings --- +# MAIL_DRIVER: The mail driver to use. "smtp" is already set in docker-compose. +# SMTP_HOST: The hostname of your SMTP server (e.g., mail.famm.name). +SMTP_HOST= + +# SMTP_PORT: The port of your SMTP server (e.g., 25, 465 for SMTPS, 587 for Submission). +# Note: Port 25 is often unencrypted. Consider 465 or 587 with SMTP_SECURE if your mail server supports it. +SMTP_PORT= + +# SMTP_USERNAME: The username for authenticating with your SMTP server. +SMTP_USERNAME= + +# SMTP_PASSWORD: The password for authenticating with your SMTP server. +SMTP_PASSWORD= + +# SMTP_SECURE: Set to "true" for SMTPS (port 465) or STARTTLS (port 587). +# Uncomment and set to "true" if your mail server requires encryption. +# # SMTP_SECURE="true" + +# MAIL_FROM_ADDRESS: The email address that DocMost will use as the sender. +MAIL_FROM_ADDRESS= + +# MAIL_FROM_NAME: The name that will appear as the sender (e.g., "DocMost Notifications"). +MAIL_FROM_NAME= + +# --- Docker Volume Paths (Host Paths) --- +# DOCMOST_DATA_PATH: The absolute path on your host system where DocMost application data will be stored. +# (Corresponds to /opt/docker/docmost/docmost in your docker-compose) +DOCMOST_DATA_PATH=/opt/docker/docmost/docmost + +# DB_DATA_PATH: The absolute path on your host system where PostgreSQL database data will be stored. +# (Corresponds to /opt/docker/docmost/db in your docker-compose) +DB_DATA_PATH=/opt/docker/docmost/db + +# REDIS_DATA_PATH: The absolute path on your host system where Redis data will be stored. +# (Corresponds to /opt/docker/docmost/redis in your docker-compose) +REDIS_DATA_PATH=/opt/docker/docmost/redis \ No newline at end of file