Sign inSign up

fonssi29/mlb-portal-compose:0.1

Manifest digest

sha256:7fee16ae162ac5de6a3bd17ba493126853edc2f93d1bf8908ef3dab6c08d041a

Last pushed

9 months by fonssi29

Type

Compose

Manifest digest

sha256:7fee16ae162ac5de6a3bd17ba493126853edc2f93d1bf8908ef3dab6c08d041a

Compose file content

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

    env_file:
      - .env

    depends_on:
      db:
        condition: service_healthy

  db:
    container_name: mysql-container
    image: mysql:8.0
    environment:
      MYSQL_ROOT_PASSWORD: root
      MYSQL_DATABASE: mlb

    volumes:
      - db_data:/var/lib/mysql

    healthcheck:
      test: ["CMD", "mysqladmin", "ping", "-h", "localhost"]
      interval: 10s
      timeout: 5s
      retries: 10

volumes:
  db_data:

Docker commands

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

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

Images used

Image + 1 more

MySQL is a widely used, open-source relational database management system (RDBMS).


Pulls

1B+

Stars

16185

Last Updated

7 days

Image


Pulls

3.3K

Stars

0

Last Updated

4 months