pull/103/head
wenxu12345 3 years ago
parent 7a3b56955c
commit b1244c0a1b

@ -21,9 +21,9 @@ services:
- 37017:27017 - 37017:27017
container_name: mongo container_name: mongo
volumes: volumes:
- ./components/mongodb/data/db:/data/db # - ./components/mongodb/data/db:/data/db
- ./components/mongodb/data/logs:/data/logs # - ./components/mongodb/data/logs:/data/logs
- ./components/mongodb/data/conf:/etc/mongo # - ./components/mongodb/data/conf:/etc/mongo
environment: environment:
- MONGO_INITDB_ROOT_USERNAME=openIM - MONGO_INITDB_ROOT_USERNAME=openIM
- MONGO_INITDB_ROOT_PASSWORD=openIM - MONGO_INITDB_ROOT_PASSWORD=openIM

Loading…
Cancel
Save