Commit 0071c397 authored by 吴文龙's avatar 吴文龙

Update docker-compose.hybrid.yml

parent d7bf6068
...@@ -21,7 +21,7 @@ services: ...@@ -21,7 +21,7 @@ services:
restart: always restart: always
image: "postgres:12" image: "postgres:12"
ports: ports:
- "5432" - "5432:5432"
environment: environment:
POSTGRES_DB: hsiotdb POSTGRES_DB: hsiotdb
POSTGRES_PASSWORD: huansi.net@v3 POSTGRES_PASSWORD: huansi.net@v3
...@@ -31,7 +31,7 @@ services: ...@@ -31,7 +31,7 @@ services:
restart: always restart: always
image: "cassandra:4.0.4" image: "cassandra:4.0.4"
ports: ports:
- "9042" - "9042:9042"
volumes: volumes:
- ./tb-node/cassandra:/var/lib/cassandra - ./tb-node/cassandra:/var/lib/cassandra
tb-core1: tb-core1:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment