From 58cb3e0ac88d02c0eed881fae00f5120259181a7 Mon Sep 17 00:00:00 2001 From: Pallab Sonowal Date: Tue, 28 Nov 2023 11:26:39 +0530 Subject: [PATCH] change db port from 5432 to 5435 (#38) --- .env.example | 2 +- compose.yml | 5 ++++- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/.env.example b/.env.example index 4b33e9e..ed478db 100644 --- a/.env.example +++ b/.env.example @@ -9,7 +9,7 @@ AUTH_TOKEN_INVALIDATION_TIME_IN_SECONDS=2592000 POSTGRES_PASSWORD='goals-password' POSTGRES_DB='goals-db' POSTGRES_USER='goals-user' -POSTGRES_PORT='5432' +POSTGRES_PORT='5435' POSTGRES_HOST='localhost' # ALLOWED_HOSTS accepts string as value with space as delimiter diff --git a/compose.yml b/compose.yml index 6167db6..5afeeb9 100644 --- a/compose.yml +++ b/compose.yml @@ -16,7 +16,10 @@ services: image: postgres:latest container_name: goals-postgres ports: - - "5432:5432" + - "5435:5435" + expose: + - "5435" + command: "-p 5435" env_file: - .env