Sign inSign up

fonssi29/mlb-portal-compose:1.0

Manifest digest

sha256:2783cedddb8ac2cfdc44fe5743bc999650b58d2d93e71997b86fc60ea229ead5

Last pushed

5 months by fonssi29

Type

Compose

Manifest digest

sha256:2783cedddb8ac2cfdc44fe5743bc999650b58d2d93e71997b86fc60ea229ead5

Compose file content

services:
  app:
    container_name: mlb-container
    image: fonssi29/mlb-portal:1.0
    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:1.0 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

15015

Last Updated

about 5 hours

Image


Pulls

3.3K

Stars

0

Last Updated

4 months