2021-01-18 10:13:26 +00: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 11:48:47 +00:00
|
|
|
#
|
2021-01-18 10:13:26 +00: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 11:48:47 +00:00
|
|
|
|
2025-08-01 13:31:59 -03:00
|
|
|
# =============================================================================
|
|
|
|
# TRANSCRIBE CONFIG EXAMPLE
|
|
|
|
# -----------------------------------------------------------------------------
|
|
|
|
# This service is not required, and it will be ignored by using --profile server
|
|
|
|
# when running docker-compose. If you want to use it, you need to set the
|
|
|
|
# following environment variables.
|
|
|
|
# =============================================================================
|
|
|
|
|
|
|
|
# TRANSCRIBE_API_KEY=secret_string_shared_between_server_and_transcribe
|
|
|
|
# TRANSCRIBE_ENABLED=true
|
|
|
|
|
|
|
|
# QUEUE_DATABASE_NAME=transcribe
|
|
|
|
# QUEUE_DATABASE_USER=transcribe
|
|
|
|
# QUEUE_DATABASE_PASSWORD=transcribe
|
|
|
|
# QUEUE_DATABASE_PORT=5431
|
|
|
|
# HTR_CLI_IMAGES_FOLDER=/home/user/images_storage
|
|
|
|
|
2021-01-18 10:13:26 +00: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 11:48:47 +00:00
|
|
|
#
|
2021-01-18 10:13:26 +00:00
|
|
|
# APP_BASE_URL=http://localhost:22300
|
|
|
|
# APP_PORT=22300
|