]> PHS Git Server - phs-stack.git/commitdiff
Adding network_mode host for api.
authorcharleswrayjr <charleswrayjr@gmail.com>
Tue, 9 Sep 2025 20:58:39 +0000 (15:58 -0500)
committercharleswrayjr <charleswrayjr@gmail.com>
Tue, 9 Sep 2025 20:58:39 +0000 (15:58 -0500)
docker-compose.yml

index c29f32241e066cfd4ba2d1df5825c3659a3e4ad6..e2c5c4f83d5ce9fa20ceeb6e894b635d110bcb8c 100755 (executable)
@@ -52,8 +52,6 @@ services:
       - 23602:3601
     entrypoint: sh -c "/usr/src/app/run-api.sh"
     network_mode: host
-    networks:
-      - phs-net
   home:
     build:
       dockerfile: Dockerfile
@@ -83,7 +81,7 @@ services:
       - ./volumes/teamcity-logs:/opt/teamcity/logs
     environment:
       - TEAMCITY_JDBC_DRIVER=org.postgresql.Driver
-      - TEAMCITY_JDBC_URL=jdbc:postgresql://phs-db:54327/postgres
+      - TEAMCITY_JDBC_URL=jdbc:postgresql://localhost:54327/postgres
       - TEAMCITY_JDBC_USERNAME=postgres
       - TEAMCITY_JDBC_PASSWORD=ab9cfz12
       - TEAMCITY_SERVER_MEM_OPTS=-Xmx2g