File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff 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}
You can’t perform that action at this time.
0 commit comments