diff --git a/docker-compose.yaml b/docker-compose.yaml index aad4436f1..d0969d0f3 100644 --- a/docker-compose.yaml +++ b/docker-compose.yaml @@ -30,11 +30,11 @@ services: - TZ=Asia/Shanghai # cache - wiredTigerCacheSizeGB=1 - MONGO_USERNAME: openIM - MONGO_PASSWORD: openIM - MONGO_INITDB_ROOT_USERNAME: root - MONGO_INITDB_ROOT_PASSWORD: root - MONGO_INITDB_DATABASE: openIM + - MONGO_USERNAME=openIM + - MONGO_PASSWORD=openIM + - MONGO_INITDB_ROOT_USERNAME=root + - MONGO_INITDB_ROOT_PASSWORD=root + - MONGO_INITDB_DATABASE=openIM #TZ: Asia/Shanghai restart: always