sha256:524cf1fe8361304420b5ea722ce7f82d97b2ae4eaa4d7c229412f9299b431ed3
Last pushed
11 months by dfdezma
Type
Compose
Manifest digest
sha256:524cf1fe8361304420b5ea722ce7f82d97b2ae4eaa4d7c229412f9299b431ed3
services:
web:
image: codeurjc/python-webgatos:mongo
ports:
- 5000:5000
environment:
- MONGODB_HOST=db
- MONGODB_PORT=27017
depends_on:
db:
condition: service_healthy
db:
image: mongo:8.0-noble
volumes:
- db_data:/data/db
healthcheck:
test: ["CMD", "mongosh", "--eval", "db.adminCommand('ping')"]
interval: 5s
timeout: 5s
start_period: 10s
retries: 5
volumes:
db_data:docker compose -f oci://dfdezma/python-webgatos-compose:0.1.0 upUse the above command to pull and run the Compose file. Learn more.
MongoDB document databases provide high availability and easy scalability.
Pulls
1B+
Stars
10750
Last Updated
4 days