Sign inSign up

scabfulll/lcdd_daw-compose:latest

Manifest digest

sha256:5f48d07bf32673c01d4a2dcc44c122cee9a61230757a2db5d9f85228859cbff6

Last pushed

6 months by scabfulll

Type

Compose

Manifest digest

sha256:5f48d07bf32673c01d4a2dcc44c122cee9a61230757a2db5d9f85228859cbff6

Compose file content

services:
  web:
    image: Scabfulll/lcdd_daw:latest # Change '<docker_hub_username>' to a group member Docker Hub username
    ports:
      - 8443:8443
    environment:
      - SPRING_DATASOURCE_URL=jdbc:mysql://db/lcdd_daw
      - SPRING_DATASOURCE_USERNAME=root
      - SPRING_DATASOURCE_PASSWORD=MySQLpassword
    depends_on:
      db:
        condition: service_healthy
  db:
    image: mysql:9.6
    environment:
      - MYSQL_ROOT_PASSWORD=MySQLpassword
      - MYSQL_DATABASE=lcdd_daw
    volumes:
      - db_data:/var/lib/mysql
    healthcheck:
      test: [ "CMD", "mysqladmin", "ping", "-h", "localhost", "-uroot", "-p$$MYSQL_ROOT_PASSWORD" ]
      interval: 5s
      timeout: 5s
      start_period: 10s
      retries: 5

volumes:
  db_data:

Docker commands

docker compose -f oci://scabfulll/lcdd_daw-compose:latest 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

16189

Last Updated

9 days