This is useful when multiple instances run on the same machine, for example behind a proxy. Unix sockets for web and admin servers can then be put in the same folder for each instance. Can be helpful when writing tests as well.
48 lines
1.6 KiB
YAML
48 lines
1.6 KiB
YAML
PGRST_APP_SETTINGS_test2: test
|
|
PGRST_APP_SETTINGS_test: test
|
|
PGRST_CLIENT_ERROR_VERBOSITY: minimal
|
|
PGRST_DB_AGGREGATES_ENABLED: true
|
|
PGRST_DB_ANON_ROLE: root
|
|
PGRST_DB_CHANNEL: postgrest
|
|
PGRST_DB_CHANNEL_ENABLED: false
|
|
PGRST_DB_EXTRA_SEARCH_PATH: public, test
|
|
PGRST_DB_HOISTED_TX_SETTINGS: work_mem
|
|
PGRST_DB_MAX_ROWS: 1000
|
|
PGRST_DB_PLAN_ENABLED: true
|
|
PGRST_DB_POOL: 1
|
|
PGRST_DB_POOL_ACQUISITION_TIMEOUT: 30
|
|
PGRST_DB_POOL_MAX_LIFETIME: 3600
|
|
PGRST_DB_POOL_MAX_IDLETIME: 60
|
|
PGRST_DB_POOL_AUTOMATIC_RECOVERY: false
|
|
PGRST_DB_PREPARED_STATEMENTS: false
|
|
PGRST_DB_PRE_REQUEST: please_run_fast
|
|
PGRST_DB_ROOT_SPEC: openapi_v3
|
|
PGRST_DB_SCHEMAS: multi, tenant,setup
|
|
PGRST_DB_CONFIG: false
|
|
PGRST_DB_PRE_CONFIG: "postgrest.pre_config"
|
|
PGRST_DB_TIMEZONE_ENABLED: false
|
|
PGRST_DB_TX_END: rollback-allow-override
|
|
PGRST_DB_URI: tmp_db
|
|
PGRST_DB_USE_LEGACY_GUCS: false
|
|
PGRST_JWT_AUD: 'https://postgrest.org'
|
|
PGRST_JWT_ROLE_CLAIM_KEY: '.user[0]."real-role"'
|
|
PGRST_JWT_SECRET: c2VjdXJpdHl0aHJvdWdob2JzY3VyaXR5aW5iYXNlNjQ=
|
|
PGRST_JWT_SECRET_IS_BASE64: true
|
|
PGRST_JWT_CACHE_MAX_ENTRIES: 86400
|
|
PGRST_LOG_LEVEL: info
|
|
PGRST_LOG_QUERY: true
|
|
PGRST_OPENAPI_MODE: 'ignore-privileges'
|
|
PGRST_OPENAPI_SECURITY_ACTIVE: true
|
|
PGRST_OPENAPI_SERVER_PROXY_URI: 'https://postgrest.org'
|
|
PGRST_SERVER_CORS_ALLOWED_ORIGINS: "http://example.com"
|
|
PGRST_SERVER_HOST: 0.0.0.0
|
|
PGRST_SERVER_PORT: 80
|
|
PGRST_SERVER_TRACE_HEADER: X-Request-Id
|
|
PGRST_SERVER_TIMING_ENABLED: true
|
|
PGRST_SERVER_UNIX_SOCKET: /tmp/pgrst_io_test.sock
|
|
PGRST_SERVER_UNIX_SOCKET_MODE: 777
|
|
PGRST_ADMIN_SERVER_HOST: 127.0.0.1
|
|
PGRST_ADMIN_SERVER_PORT: 3001
|
|
PGRST_ADMIN_SERVER_UNIX_SOCKET: /tmp/admin_io_test.sock
|
|
PGRST_ADMIN_SERVER_UNIX_SOCKET_MODE: 666
|