|
|
|
|
@ -23,13 +23,14 @@ services:
|
|
|
|
|
- TRUST_PROXY=0
|
|
|
|
|
- DATABASE_URL=postgresql://postgres@postgres/planka
|
|
|
|
|
- SECRET_KEY=notsecretkey
|
|
|
|
|
|
|
|
|
|
# related: https://github.com/knex/knex/issues/2354
|
|
|
|
|
# As knex does not pass query parameters from the connection string we
|
|
|
|
|
# have to use environment variables in order to pass the desired values, e.g.
|
|
|
|
|
# PGSSLMODE=<value>
|
|
|
|
|
# - PGSSLMODE=<value>
|
|
|
|
|
|
|
|
|
|
# Configure knex to accept SSL certificates
|
|
|
|
|
# REJECT_UNAUTHORIZED_SSL_CERTIFICATE=false
|
|
|
|
|
# - KNEX_REJECT_UNAUTHORIZED_SSL_CERTIFICATE=false
|
|
|
|
|
depends_on:
|
|
|
|
|
- postgres
|
|
|
|
|
|
|
|
|
|
|