claude/heroku-clone-mvp-plan-NREhc #1

Merged
sander merged 42 commits from claude/heroku-clone-mvp-plan-NREhc into main 2026-03-29 07:24:40 +00:00
Showing only changes of commit d3ef4d2030 - Show all commits

View file

@ -1,8 +1,8 @@
#!/usr/bin/env bash #!/bin/sh
# Create a dedicated database and user for Forgejo. # Create a dedicated database and user for Forgejo.
# Runs once when the Postgres container is first initialised. # Runs once when the Postgres container is first initialised.
# FORGEJO_DB_PASSWORD must be set in the environment (via docker-compose.yml). # FORGEJO_DB_PASSWORD must be set in the environment (via docker-compose.yml).
set -euo pipefail set -e
psql -v ON_ERROR_STOP=1 --username "$POSTGRES_USER" <<-EOSQL psql -v ON_ERROR_STOP=1 --username "$POSTGRES_USER" <<-EOSQL
CREATE USER forgejo WITH PASSWORD '${FORGEJO_DB_PASSWORD}'; CREATE USER forgejo WITH PASSWORD '${FORGEJO_DB_PASSWORD}';