Sign inSign up

cborges19/python-webgatos-compose:0.1.0

Manifest digest

sha256:76b681265412251bc64b7a3926ab5726b1d3da09f711df83927a2cb357a0c02e

Last pushed

11 months by cborges19

Type

Compose

Manifest digest

sha256:76b681265412251bc64b7a3926ab5726b1d3da09f711df83927a2cb357a0c02e

Compose file content

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 commands

docker compose -f oci://cborges19/python-webgatos-compose:0.1.0 up

Use the above command to pull and run the Compose file. Learn more.

Images used

Image + 1 more

MongoDB document databases provide high availability and easy scalability.


Pulls

1B+

Stars

10750

Last Updated

4 days

Image


Pulls

105

Stars

0

Last Updated

11 months