Browse Source

feat: comment db port to host (#1831)

takatost 1 year ago
parent
commit
9080ece3fb
1 changed files with 3 additions and 2 deletions
  1. 3 2
      docker/docker-compose.yaml

+ 3 - 2
docker/docker-compose.yaml

@@ -228,8 +228,9 @@ services:
       PGDATA: /var/lib/postgresql/data/pgdata
     volumes:
       - ./volumes/db/data:/var/lib/postgresql/data
-    ports:
-      - "5432:5432"
+    # uncomment to expose db(postgresql) port to host
+    # ports:
+    #   - "5432:5432"
     healthcheck:
       test: ["CMD", "pg_isready"]
       interval: 1s