diff --git a/api/.env.example b/api/.env.example index cd4fc3cc..ac9db9df 100644 --- a/api/.env.example +++ b/api/.env.example @@ -15,7 +15,7 @@ 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 +# 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 @@ -23,9 +23,9 @@ PGPASSWORD=password PGDB=kyooDB PGSERVER=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 +# 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