serverpod-offline-sync/test/serverpod_offline_sync_test_server/config/test.yaml

35 lines
932 B
YAML
Raw Normal View History

# 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.
#
# The path stays inside `.test_databases/` because `serverpod_test` derives
# each ephemeral per-group database from it, keeping the directory:
# `.test_databases/test.db` -> `.test_databases/sp_test_<pid>_<token>.db`.
# With a bare filename those files land in the package root, where they are
# not covered by any ignore rule and litter the working copy.
database:
filePath: .test_databases/test.db
sessionLogs:
persistentEnabled: false
consoleEnabled: true
consoleLogFormat: text