sha256:ff1e5a46ab705f1100148cc40447e521128f9093c5bab822ca565e5198f6dde7
Last pushed
11 months by codeurjcdockerhub
Type
Compose
Manifest digest
sha256:ff1e5a46ab705f1100148cc40447e521128f9093c5bab822ca565e5198f6dde7
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://codeurjc/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