From 98adbd72f101a6bc76588f86c5fe1e3276573876 Mon Sep 17 00:00:00 2001 From: dbastrikin Date: Tue, 17 Mar 2026 16:09:34 +0200 Subject: [PATCH] chore: change PostgreSQL host port to 5433 Avoids conflict with other local Postgres instances. Container internal port stays 5432; only the host-side mapping changes. Co-Authored-By: Claude Sonnet 4.6 --- backend/.env.example | 2 +- backend/docker-compose.yml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/backend/.env.example b/backend/.env.example index 8fa7162..1b8393b 100644 --- a/backend/.env.example +++ b/backend/.env.example @@ -1,5 +1,5 @@ # Database -DATABASE_URL=postgres://food_ai:food_ai_local@localhost:5432/food_ai?sslmode=disable +DATABASE_URL=postgres://food_ai:food_ai_local@localhost:5433/food_ai?sslmode=disable # Firebase FIREBASE_CREDENTIALS_FILE=./firebase-credentials.json diff --git a/backend/docker-compose.yml b/backend/docker-compose.yml index 1292af3..aaeca1a 100644 --- a/backend/docker-compose.yml +++ b/backend/docker-compose.yml @@ -6,7 +6,7 @@ services: POSTGRES_USER: food_ai POSTGRES_PASSWORD: food_ai_local ports: - - "5432:5432" + - "5433:5432" volumes: - pgdata:/var/lib/postgresql/data healthcheck: