2019-10-28 06:48:04 +01:00
|
|
|
# Inherit config from this other config file
|
|
|
|
# so I only need to overwrite some values
|
2019-10-31 06:14:51 +01:00
|
|
|
inherits: dev
|
2019-10-28 06:48:04 +01:00
|
|
|
|
2019-04-11 07:10:51 +02:00
|
|
|
app_name: "Super Graph Production"
|
2019-03-24 14:57:29 +01:00
|
|
|
host_port: 0.0.0.0:8080
|
2019-04-10 07:38:48 +02:00
|
|
|
web_ui: false
|
2019-06-17 07:58:00 +02:00
|
|
|
|
|
|
|
# debug, info, warn, error, fatal, panic, disable
|
|
|
|
log_level: "info"
|
2019-04-20 06:35:57 +02:00
|
|
|
|
2019-11-07 08:37:24 +01:00
|
|
|
# When production mode is 'true' only queries
|
|
|
|
# from the allow list are permitted.
|
|
|
|
# When it's 'false' all queries are saved to the
|
|
|
|
# the allow list in ./config/allow.list
|
|
|
|
production: true
|
2019-03-24 14:57:29 +01:00
|
|
|
|
|
|
|
# Throw a 401 on auth failure for queries that need auth
|
2019-11-02 22:13:17 +01:00
|
|
|
auth_fail_block: true
|
2019-03-24 14:57:29 +01:00
|
|
|
|
2019-07-29 07:13:33 +02:00
|
|
|
# Latency tracing for database queries and remote joins
|
|
|
|
# the resulting latency information is returned with the
|
|
|
|
# response
|
|
|
|
enable_tracing: true
|
|
|
|
|
2019-09-26 06:35:31 +02:00
|
|
|
# File that points to the database seeding script
|
|
|
|
# seed_file: seed.js
|
|
|
|
|
|
|
|
# Path pointing to where the migrations can be found
|
|
|
|
# migrations_path: migrations
|
|
|
|
|
2019-04-01 07:18:14 +02:00
|
|
|
# Postgres related environment Variables
|
2019-03-24 14:57:29 +01:00
|
|
|
# SG_DATABASE_HOST
|
|
|
|
# SG_DATABASE_PORT
|
|
|
|
# SG_DATABASE_USER
|
|
|
|
# SG_DATABASE_PASSWORD
|
|
|
|
|
2019-04-01 07:18:14 +02:00
|
|
|
# Auth related environment Variables
|
2019-04-08 08:47:59 +02:00
|
|
|
# SG_AUTH_RAILS_COOKIE_SECRET_KEY_BASE
|
|
|
|
# SG_AUTH_RAILS_REDIS_URL
|
|
|
|
# SG_AUTH_RAILS_REDIS_PASSWORD
|
|
|
|
# SG_AUTH_JWT_PUBLIC_KEY_FILE
|
2019-03-24 14:57:29 +01:00
|
|
|
|
|
|
|
database:
|
|
|
|
type: postgres
|
|
|
|
host: db
|
|
|
|
port: 5432
|
2019-10-28 06:48:04 +01:00
|
|
|
dbname: app_production
|
2019-03-24 14:57:29 +01:00
|
|
|
user: postgres
|
|
|
|
password: ''
|
|
|
|
#pool_size: 10
|
|
|
|
#max_retries: 0
|
2019-11-05 05:44:42 +01:00
|
|
|
#log_level: "debug"
|
|
|
|
|
|
|
|
# Set session variable "user.id" to the user id
|
|
|
|
# Enable this if you need the user id in triggers, etc
|
|
|
|
set_user_id: false
|