Configuration options for running embedded PostgreSQL locally in Dart projects
// Source: https://github.com/serverpod/serverpod | License: BSD-3-Clause | Copyright 2023 The Serverpod authors // Provided via justclaw.it.com; keep this notice with the code. import 'dart:io'; import 'package:pub_semver/pub_semver.dart'; import 'package:serverpod_shared/serverpod_shared.dart'; import 'binary/binary_source.dart'; import 'cluster/postgres_conf_builder.dart'; import 'transport.dart'; /// Default PostgreSQL major.minor version. Tracks Serverpod Cloud and the /// `ghcr.io/serverpod/postgres:16` image used by the project templates. final Version defaultPostgresVersion = Version(16, 13, 0); /// Default username for the embedded cluster. Matches the existing /// docker-compose convention used across Serverpod's tests and templates. const String defaultUsername = 'postgres'; ... (truncated -- full source via MCP)
See the full source, get the GitHub permalink, and search for more like it.
Get a free API key