Todo's server includes halkyon_base (ADR 0014), configured for Todo: its basics say it serves `todo`, sign-in mails name Halkyon Todo, the source is this repository, minimumAppBuild 1. Authentication through the module (anonymous, GitHub, email codes, server-side sessions) in place of the scaffold's email-and-password provider; the module's pruning scheduled once however often the server starts. The scaffold's greeting, its Flutter web hosting, cloud storage and Docker files go; session logs are never persisted. Todo was never deployed, so its migrations start again with one initial migration. The root's lints apply, with the four constructor rules off as on Learn's server. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Signed-off-by: Tizian 「ティツィアーン」 <raisondetredev@pm.me>
51 lines
1.6 KiB
YAML
51 lines
1.6 KiB
YAML
# This is the configuration file for your test environment.
|
|
# All ports are set to zero in this file which makes the server find the next available port.
|
|
# This is needed to enable running tests concurrently. 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 test server.
|
|
apiServer:
|
|
port: 0
|
|
publicHost: localhost
|
|
publicPort: 0
|
|
publicScheme: http
|
|
|
|
# Configuration for the Insights test server.
|
|
insightsServer:
|
|
port: 0
|
|
publicHost: localhost
|
|
publicPort: 0
|
|
publicScheme: http
|
|
|
|
# Configuration for the web test server.
|
|
webServer:
|
|
port: 0
|
|
publicHost: localhost
|
|
publicPort: 0
|
|
publicScheme: http
|
|
|
|
# This is the database setup for your test server.
|
|
database:
|
|
host: localhost
|
|
port: 9090
|
|
name: halkyon_todo_test
|
|
user: postgres
|
|
dataPath: .serverpod/test/pgdata
|
|
#maxConnectionCount: 10 # Defaults to 10, a negative or null value removes the limit
|
|
|
|
|
|
# Session logs stay out of the database, for privacy, as Learn's (never re-enable).
|
|
sessionLogs:
|
|
persistentEnabled: false
|
|
consoleEnabled: true
|
|
# consoleLogFormat: json # 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
|