diff --git a/project/database/postgres/deploy/docker-compose/_utils.py b/project/database/postgres/deploy/docker-compose/_utils.py index 1e26618..8b7f456 100644 --- a/project/database/postgres/deploy/docker-compose/_utils.py +++ b/project/database/postgres/deploy/docker-compose/_utils.py @@ -24,7 +24,7 @@ def build_docker_compose(path: Path) -> str: "restart": "always", "build": "external/postgres", "command": "postgres -c 'max_connections=200'", - "ports": ["5432"], + "ports": ["5432:5432"], "volumes": ["postgres:/var/lib/postgresql/data",], "environment": {"POSTGRES_USER": "minos", "POSTGRES_PASSWORD": "min0s",}, }