Skip to content

Commit 46763e2

Browse files
authored
Update basic-openim-server-dependency.yml
1 parent be14fa5 commit 46763e2

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

example/basic-openim-server-dependency.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ services:
3636
- "${DATA_DIR}/components/mongodb/data/db:/data/db"
3737
- "${DATA_DIR}/components/mongodb/data/logs:/data/logs"
3838
- "${DATA_DIR}/components/mongodb/data/conf:/etc/mongo"
39-
- "${DATA_DIR}/openim-server/${SERVER_BRANCH}/scripts/mongo-init.sh:/docker-entrypoint-initdb.d/mongo-init.sh:ro"
39+
- "./scripts/mongo-init.sh:/docker-entrypoint-initdb.d/mongo-init.sh:ro"
4040
environment:
4141
- TZ=Asia/Shanghai
4242
- wiredTigerCacheSizeGB=1
@@ -89,7 +89,7 @@ services:
8989
ports:
9090
- "${KAFKA_PORT}:9094"
9191
volumes:
92-
- ${DATA_DIR}/openim-server/${SERVER_BRANCH}/scripts/create_topic.sh:/opt/bitnami/kafka/create_topic.sh
92+
- ./scripts/create_topic.sh:/opt/bitnami/kafka/create_topic.sh
9393
- ${DATA_DIR}/components/kafka:/bitnami/kafka
9494
command: >
9595
bash -c "
@@ -124,4 +124,4 @@ services:
124124
command: minio server /data --console-address ':9090'
125125
networks:
126126
openim-server:
127-
ipv4_address: ${MINIO_NETWORK_ADDRESS}
127+
ipv4_address: ${MINIO_NETWORK_ADDRESS}

0 commit comments

Comments
 (0)