mirror of
https://github.com/zoriya/Kyoo.git
synced 2025-05-23 17:52:36 -04:00
32 lines
1.0 KiB
Plaintext
32 lines
1.0 KiB
Plaintext
# vi: ft=sh
|
|
# shellcheck disable=SC2034
|
|
|
|
KYOO_PREFIX=/api
|
|
|
|
|
|
# either an hard-coded secret to decode jwts or empty to use keibi's public secret.
|
|
# this should only be used in tests
|
|
JWT_SECRET=
|
|
# used to verify who's making the jwt
|
|
JWT_ISSUER=$PUBLIC_URL
|
|
# keibi's server to retrieve the public jwt secret
|
|
AUTH_SERVER=http://auth:4568
|
|
|
|
IMAGES_PATH=./images
|
|
|
|
# It is recommended to use the below PG environment variables when possible.
|
|
# POSTGRES_URL=postgres://user:password@hostname:port/dbname?sslmode=verify-full&sslrootcert=/path/to/server.crt&sslcert=/path/to/client.crt&sslkey=/path/to/client.key
|
|
# The behavior of the below variables match what is documented here:
|
|
# https://www.postgresql.org/docs/current/libpq-envars.html
|
|
PGUSER=kyoo
|
|
PGPASSWORD=password
|
|
PGDATABASE=kyooDB
|
|
PGHOST=postgres
|
|
PGPORT=5432
|
|
# PGOPTIONS=-c search_path=kyoo,public
|
|
# PGPASSFILE=/my/password # Takes precedence over PGPASSWORD. New line characters are not trimmed.
|
|
# PGSSLMODE=verify-full
|
|
# PGSSLROOTCERT=/my/serving.crt
|
|
# PGSSLCERT=/my/client.crt
|
|
# PGSSLKEY=/my/client.key
|