Files
alpinebits_python/config/postgres.yaml.example
2025-11-04 09:20:02 +01:00

17 lines
697 B
Plaintext

# PostgreSQL configuration for migration
# Copy this file to postgres.yaml and fill in your PostgreSQL credentials
# This file should NOT be committed to git (add postgres.yaml to .gitignore)
database:
url: "postgresql+asyncpg://username:password@hostname:5432/database_name"
# Example: "postgresql+asyncpg://alpinebits_user:your_password@localhost:5432/alpinebits"
schema: "alpinebits" # Optional: PostgreSQL schema name (default: public)
# If using annotatedyaml secrets:
# database:
# url: !secret POSTGRES_URL
# schema: "alpinebits" # Optional: PostgreSQL schema name
#
# Then in secrets.yaml:
# POSTGRES_URL: "postgresql+asyncpg://username:password@hostname:5432/database_name"