2021-01-18 12:13:26 +02:00
|
|
|
# =============================================================================
|
|
|
|
# PRODUCTION CONFIG EXAMPLE
|
|
|
|
# -----------------------------------------------------------------------------
|
|
|
|
# By default it will use SQLite, but that's mostly to test and evaluate the
|
|
|
|
# server. So you'll want to specify db connection settings to use Postgres.
|
|
|
|
# =============================================================================
|
2020-12-28 13:48:47 +02:00
|
|
|
#
|
2021-01-18 12:13:26 +02:00
|
|
|
# APP_BASE_URL=https://example.com/joplin
|
|
|
|
# APP_PORT=22300
|
|
|
|
#
|
|
|
|
# DB_CLIENT=pg
|
|
|
|
# POSTGRES_PASSWORD=joplin
|
|
|
|
# POSTGRES_DATABASE=joplin
|
|
|
|
# POSTGRES_USER=joplin
|
|
|
|
# POSTGRES_PORT=5432
|
|
|
|
# POSTGRES_HOST=localhost
|
2020-12-28 13:48:47 +02:00
|
|
|
|
2021-01-18 12:13:26 +02:00
|
|
|
# =============================================================================
|
|
|
|
# DEV CONFIG EXAMPLE
|
|
|
|
# -----------------------------------------------------------------------------
|
|
|
|
# Example of local config, for development. In dev mode, you would usually use
|
|
|
|
# SQLite so database settings are not needed.
|
|
|
|
# =============================================================================
|
2020-12-28 13:48:47 +02:00
|
|
|
#
|
2021-01-18 12:13:26 +02:00
|
|
|
# APP_BASE_URL=http://localhost:22300
|
|
|
|
# APP_PORT=22300
|