Skip to content
This repository was archived by the owner on Mar 4, 2023. It is now read-only.

Commit 284b125

Browse files
committed
use bridge network
1 parent a6b2084 commit 284b125

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

tools/qdatasyncserver/docker-compose.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@ services:
1212
PGDATA: /var/lib/postgresql/data/pgdata
1313
volumes:
1414
- datasync_example_postgres_data:/var/lib/postgresql/data/pgdata
15+
network_mode: "bridge"
1516
datasync_pgAdmin:
1617
container_name: datasync_example_pgAdmin
1718
image: thajeztah/pgadmin4:latest
@@ -21,6 +22,7 @@ services:
2122
- "5050:5050/tcp"
2223
volumes:
2324
- datasync_example_pgAdmin_data:/pgadmin
25+
network_mode: "bridge"
2426
volumes:
2527
datasync_example_postgres_data:
2628
datasync_example_pgAdmin_data:

0 commit comments

Comments
 (0)