Avoid using default postgres port

This commit is contained in:
Manav Rathi
2025-03-19 20:25:11 +05:30
parent 3916d2b7d8
commit d80b220ad4
2 changed files with 7 additions and 8 deletions

View File

@@ -9,11 +9,11 @@ description:
> [!NOTE]
>
> This is a community contributed guide, and some of these steps might be out of
> sync with the upstream documentation. If something is not working correctly,
> please also see the latest
> [READMEs](https://github.com/ente-io/ente/blob/main/server/README.md) in the
> repository and/or other guides in [self-hosting](/self-hosting/).
> This is a community contributed guide, and some of these steps ~~might be~~
> ARE out of sync with the upstream changes. This document is retained for
> reference purposes, but if something is not working correctly, please see the
> latest [READMEs](https://github.com/ente-io/ente/blob/main/server/README.md)
> in the repository and/or other guides in [self-hosting](/self-hosting/).
This guide is for self hosting the server and the web application of Ente Photos
using docker compose and an external S3 bucket. So we assume that you already

View File

@@ -34,9 +34,8 @@ services:
postgres:
image: postgres:15
# Change the postgres port here
ports:
- 5432:5432
- 12432:5432
environment:
POSTGRES_USER: pguser
POSTGRES_PASSWORD: pgpass
@@ -96,7 +95,7 @@ configs:
content: |
db:
host: postgres
port: 5432
port: 12432
name: ente_db
user: pguser
password: pgpass