Sign inSign up

fonssi29/mlb-portal-compose:0.2

Manifest digest

sha256:aeed71ab444394302a17b8c12b03bea219d00297ad81fe8fa0cf888783c1f722

Last pushed

7 months by fonssi29

Type

Compose

Manifest digest

sha256:aeed71ab444394302a17b8c12b03bea219d00297ad81fe8fa0cf888783c1f722

Compose file content

services:
  app:
    container_name: mlb-container
    image: fonssi29/mlb-portal:0.2
    ports:
      - "8443:8443"

    env_file:
      - .env

    depends_on:
      db:
        condition: service_healthy

  db:
    image: postgres:16
    environment:
      POSTGRES_DB: MLBPortal
      POSTGRES_USER: postgres
      POSTGRES_PASSWORD: root

    ports:
      - "5432:5432"

    volumes:
      - db_data:/var/lib/postgresql/data

    healthcheck:
      test: ["CMD-SHELL", "pg_isready -U postgres"]
      interval: 10s
      timeout: 5s
      retries: 10

volumes:
  db_data:

Docker commands

docker compose -f oci://fonssi29/mlb-portal-compose:0.2 up

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

Images used

Image + 1 more

The PostgreSQL object-relational database system provides reliability and data integrity.


Pulls

1B+

Stars

15012

Last Updated

19 days

Image


Pulls

3.3K

Stars

0

Last Updated

4 months