Skip to content

Commit

Permalink
Update basic-openim-server-dependency.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
cubxxw authored Sep 9, 2023
1 parent be14fa5 commit 46763e2
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions example/basic-openim-server-dependency.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ services:
- "${DATA_DIR}/components/mongodb/data/db:/data/db"
- "${DATA_DIR}/components/mongodb/data/logs:/data/logs"
- "${DATA_DIR}/components/mongodb/data/conf:/etc/mongo"
- "${DATA_DIR}/openim-server/${SERVER_BRANCH}/scripts/mongo-init.sh:/docker-entrypoint-initdb.d/mongo-init.sh:ro"
- "./scripts/mongo-init.sh:/docker-entrypoint-initdb.d/mongo-init.sh:ro"
environment:
- TZ=Asia/Shanghai
- wiredTigerCacheSizeGB=1
Expand Down Expand Up @@ -89,7 +89,7 @@ services:
ports:
- "${KAFKA_PORT}:9094"
volumes:
- ${DATA_DIR}/openim-server/${SERVER_BRANCH}/scripts/create_topic.sh:/opt/bitnami/kafka/create_topic.sh
- ./scripts/create_topic.sh:/opt/bitnami/kafka/create_topic.sh
- ${DATA_DIR}/components/kafka:/bitnami/kafka
command: >
bash -c "
Expand Down Expand Up @@ -124,4 +124,4 @@ services:
command: minio server /data --console-address ':9090'
networks:
openim-server:
ipv4_address: ${MINIO_NETWORK_ADDRESS}
ipv4_address: ${MINIO_NETWORK_ADDRESS}

0 comments on commit 46763e2

Please sign in to comment.