Enhance README.md with detailed service descriptions and port matrix for Docker services in the home lab environment.
This commit is contained in:
17
mongo/compose.yaml
Normal file
17
mongo/compose.yaml
Normal file
@@ -0,0 +1,17 @@
|
||||
version: '3.8'
|
||||
services:
|
||||
mongodb:
|
||||
image: mongo:6-jammy
|
||||
ports:
|
||||
- '27017:27017'
|
||||
volumes:
|
||||
- dbdata6:/data/db
|
||||
restart: "unless-stopped"
|
||||
healthcheck:
|
||||
test: ["CMD", "mongosh", "--eval", "db.adminCommand('ping')"]
|
||||
interval: 30s
|
||||
timeout: 10s
|
||||
retries: 3
|
||||
start_period: 40s
|
||||
volumes:
|
||||
dbdata6:
|
||||
Reference in New Issue
Block a user