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