70 lines
2.5 KiB
YAML
70 lines
2.5 KiB
YAML
|
|
# This is the configuration file for your local development environment. By
|
||
|
|
# default, it runs a single server on port 8180. To set up your server, you will
|
||
|
|
# need to add the name of the database you are connecting to and the user name.
|
||
|
|
# The password for the database is stored in the config/passwords.yaml.
|
||
|
|
#
|
||
|
|
# When running your server locally, the server ports are the same as the public
|
||
|
|
# facing ports.
|
||
|
|
|
||
|
|
# Configuration for the main API server.
|
||
|
|
apiServer:
|
||
|
|
port: 8180
|
||
|
|
publicHost: localhost
|
||
|
|
publicPort: 8180
|
||
|
|
publicScheme: http
|
||
|
|
|
||
|
|
# Configuration for the Insights server.
|
||
|
|
insightsServer:
|
||
|
|
port: 8181
|
||
|
|
publicHost: localhost
|
||
|
|
publicPort: 8181
|
||
|
|
publicScheme: http
|
||
|
|
|
||
|
|
# Configuration for the web server.
|
||
|
|
webServer:
|
||
|
|
port: 8182
|
||
|
|
publicHost: localhost
|
||
|
|
publicPort: 8182
|
||
|
|
publicScheme: http
|
||
|
|
|
||
|
|
# This is the database setup for your server.
|
||
|
|
database:
|
||
|
|
host: localhost
|
||
|
|
port: 8190
|
||
|
|
name: halkyon_train
|
||
|
|
user: postgres
|
||
|
|
#requireSsl: true # defaults to false
|
||
|
|
#isUnixSocket: true # defaults to false
|
||
|
|
dataPath: .serverpod/development/pgdata
|
||
|
|
#maxConnectionCount: 10 # Defaults to 10, a negative or null value removes the limit
|
||
|
|
|
||
|
|
|
||
|
|
maxRequestSize: 524288 # The maximum size of requests allowed in bytes
|
||
|
|
|
||
|
|
# Session logs stay out of the database, for privacy, as Learn's (never re-enable).
|
||
|
|
sessionLogs:
|
||
|
|
persistentEnabled: false
|
||
|
|
consoleEnabled: true
|
||
|
|
consoleLogFormat: text # Defaults to "json", options are "text" or "json"
|
||
|
|
|
||
|
|
#futureCall:
|
||
|
|
# enabled: true # Defaults to true, set to false to disable scheduling and running future calls
|
||
|
|
# executionEnabled: true # Defaults to true
|
||
|
|
# concurrencyLimit: 1 # Defaults to 1, a negative or null value removes the limit
|
||
|
|
# scanInterval: 5000 # Unit in milliseconds, defaults to 5000
|
||
|
|
|
||
|
|
# Recommended when serving web clients: keeps auth tokens in httpOnly
|
||
|
|
# cookies. Without this, web tokens live in JavaScript-readable storage,
|
||
|
|
# where any XSS can steal them. Web clients opt in with
|
||
|
|
# `client.cookieAuth = true`. Requires `allowedOrigins`; browsers from
|
||
|
|
# origins not in the list lose cross-origin access, including to public
|
||
|
|
# endpoints.
|
||
|
|
#authCookie:
|
||
|
|
# secure: false # Cookies require https; relax only for http://localhost
|
||
|
|
# #name: serverpod_auth # Defaults to "serverpod_auth"
|
||
|
|
# #refreshName: serverpod_auth_refresh # Defaults to "<name>_refresh"
|
||
|
|
# #domain: example.com # Defaults to host-only; set to share across subdomains
|
||
|
|
# #path: / # Defaults to "/"
|
||
|
|
# #sameSite: lax # Defaults to "lax", options are "strict" or "none"
|
||
|
|
#allowedOrigins:
|
||
|
|
# - http://localhost:8082 # The origin serving your Flutter web app
|