chore: update versions

This commit is contained in:
Sun-ZhenXing
2025-12-29 21:40:58 +08:00
parent 953bb146ba
commit cdc76a8ee5
20 changed files with 168 additions and 26 deletions
+2 -1
View File
@@ -9,6 +9,7 @@ This service sets up a MongoDB replica set with three members.
1. Generate a key file for the replica set:
```bash
mkdir -p ./secrets
openssl rand -base64 756 > ./secrets/rs0.key
```
@@ -41,7 +42,7 @@ This service sets up a MongoDB replica set with three members.
## Configuration
- `TZ`: The timezone for the container, default is `UTC`.
- `MONGO_VERSION`: The version of the MongoDB image, default is `8.0.13`.
- `MONGO_VERSION`: The version of the MongoDB image, default is `8.2.3`.
- `MONGO_INITDB_ROOT_USERNAME`: The root username for the database, default is `root`.
- `MONGO_INITDB_ROOT_PASSWORD`: The root password for the database, default is `password`.
- `MONGO_INITDB_DATABASE`: The initial database to create, default is `admin`.