Sign inSign up

hhectorgonzlez/lkj-casino-compose:1.0.0

Manifest digest

sha256:4353098a5e034104fc0e1895bf07c16478da6230af4123721f378740fead84ad

Last pushed

over 1 year by hhectorgonzlez

Type

Compose

Manifest digest

sha256:4353098a5e034104fc0e1895bf07c16478da6230af4123721f378740fead84ad

Compose file content

services:
  web:
    image: hhectorgonzlez/lkj-casino:1.0.0
    ports:
      - 8443:8443
    environment:
      - SPRING_DATASOURCE_URL=jdbc:mysql://db/bbdd
      - SPRING_DATASOURCE_USERNAME=root
      - SPRING_DATASOURCE_PASSWORD=password
    depends_on:
      db:
        condition: service_healthy
    restart: on-failure
  db:
    image: mysql:9.2
    environment:
      - MYSQL_ROOT_PASSWORD=password
      - MYSQL_DATABASE=bbdd
    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://hhectorgonzlez/lkj-casino-compose:1.0.0 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

16190

Last Updated

13 days

Image


Pulls

157

Stars

0

Last Updated

over 1 year