docker-compose-collection/plausible/.env-example

55 lines
1.9 KiB
Text

# Postgres version for the Plausible database
PLAUSIBLE_POSTGRES_VERSION=16
# Password for the PostgreSQL database
PLAUSIBLE_POSTGRES_PASSWORD=your_postgres_password_here
# Clickhouse version for the Plausible events database
PLAUSIBLE_CLICKHOUSE_VERSION=24.3.3.102-alpine
# Version of Plausible Community Edition
PLAUSIBLE_VERSION=v2.1.5
# Domain for Plausible instance
PLAUSIBLE_DOMAIN=plausible.example.com
# Secret key base for Plausible instance (set to a secure random string)
# Generate with echo "PLAUSIBLE_SECRET_KEY_BASE=$(openssl rand -base64 48)"
PLAUSIBLE_SECRET_KEY_BASE=your_secure_secret_key_base_here
# Temporary directory for Plausible
TMPDIR=/var/lib/plausible/tmp
#################################
# Following fields are optional #
#################################
# Configuration for databases
#DATABASE_URL=postgres://postgres:${PLAUSIBLE_POSTGRES_PASSWORD}@plausible-db:5432/plausible
#CLICKHOUSE_DATABASE_URL=clickhouse://plausible-events:9000/plausible_events
# Google OAuth credentials
#GOOGLE_CLIENT_ID=your_google_client_id_here
#GOOGLE_CLIENT_SECRET=your_google_client_secret_here
# Geolocation configuration (Optional)
#IP_GEOLOCATION_DB=path_to_geolocation_db
#GEONAMES_SOURCE_FILE=path_to_geonames_file
#MAXMIND_LICENSE_KEY=your_maxmind_license_key_here
#MAXMIND_EDITION=your_maxmind_edition_here
# Email configuration (choose one of the email adapters)
#MAILER_ADAPTER=smtp # Options: smtp, sendgrid, postmark, mandrill, mailgun
#MAILER_EMAIL=your_email_here
#MAILER_NAME="Your Name or Company"
#SMTP_HOST_ADDR=smtp.yourmailserver.com
#SMTP_HOST_PORT=587
#SMTP_USER_NAME=your_smtp_username_here
#SMTP_USER_PWD=your_smtp_password_here
#SMTP_HOST_SSL_ENABLED=true
#POSTMARK_API_KEY=your_postmark_api_key_here
#MAILGUN_API_KEY=your_mailgun_api_key_here
#MAILGUN_DOMAIN=your_mailgun_domain_here
#MAILGUN_BASE_URI=https://api.mailgun.net
#MANDRILL_API_KEY=your_mandrill_api_key_here
#SENDGRID_API_KEY=your_sendgrid_api_key_here