Skip to content

Postgres is the default profile - #77

Merged
jasperblues merged 1 commit into
mainfrom
postgres-default-profile
Nov 8, 2026
Merged

jasperblues merged 1 commit into
mainfrom
postgres-default-profile

Conversation

@jasperblues

Copy link
Copy Markdown
Contributor

Prod Guide has run on Postgres (Cloud SQL) since 2026-11-07, so postgres becomes the default Spring profile. It's step 6 of docs/CUTOVER_TO_POSTGRES.md.

  • application.yml: spring.profiles.active: postgres, so ./mvnw spring-boot:run, an IDE run and the jar all start on Postgres. Prod is unchanged: its Cloud Run service sets SPRING_PROFILES_ACTIVE=postgres itself.
  • Neo4j users now name their profile:
    • Export Seed's Neo4j job (-Dspring.profiles.active=neo4j);
    • the Docker Compose guide service, which runs beside the neo4j container (SPRING_PROFILES_ACTIVE=neo4j);
    • the hub's all-in-one image, in embabel/embabel-hub#93. Merge that first.
  • README: Postgres is marked the default and listed first in the backend table. There's a "Running locally on Postgres" section (docker compose --profile postgres up -d, then ./mvnw clean spring-boot:run). The switching examples, Docker Compose and Neo4j-only sections say where the neo4j profile is needed.

./mvnw clean test: 213 tests, 0 failures, 3 skipped. Every Spring test names its own profile.

This replaces the unpushed postgres-local-default branch, which only changed the default for spring-boot:run.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@jasperblues
jasperblues merged commit f92ba51 into main Nov 8, 2026
8 checks passed
@jasperblues
jasperblues deleted the postgres-default-profile branch November 8, 2026 01:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant