# Joplin Server — /opt/homelab/config/joplin/.env # Both the `app` (joplin-server) and `db` (postgres) containers read this file. # Application APP_BASE_URL=https://joplin.example.com APP_PORT=22300 TRUST_PROXY=1 RUNNING_IN_DOCKER=1 # Database connection (joplin-server reads these) DB_CLIENT=pg POSTGRES_HOST=db POSTGRES_PORT=5432 POSTGRES_USER=joplin POSTGRES_DB=joplin POSTGRES_DATABASE=joplin POSTGRES_PASSWORD= # Runtime PM2_HOME=/opt/pm2