Sign inSign up

vanessa19/byebye-compose:latest

Manifest digest

sha256:c5dc450d9598f0535f3c87ecdd43ac56e049402e14c1de5fb9cc0cb891a2abc8

Last pushed

4 months by vanessa19

Type

Compose

Manifest digest

sha256:c5dc450d9598f0535f3c87ecdd43ac56e049402e14c1de5fb9cc0cb891a2abc8

Compose file content

services:
  mysql:
    image: mysql:8.0
    environment:
      MYSQL_ROOT_PASSWORD: root123
      MYSQL_DATABASE: ByeBye
    ports:
      - "3307:3306"
    healthcheck:
      test: ["CMD", "mysqladmin", "ping", "-h", "localhost", "-uroot", "-proot123"]
      interval: 10s
      timeout: 5s
      retries: 5

  app-service:
    image: vanessa19/app-service:latest
    ports:
      - "8443:8443"
    environment:
      SPRING_DATASOURCE_URL: jdbc:mysql://mysql:3306/ByeBye?useSSL=false&serverTimezone=UTC&allowPublicKeyRetrieval=true
      SPRING_DATASOURCE_USERNAME: root
      SPRING_DATASOURCE_PASSWORD: root123
      UTILITY_SERVICE_URL: http://utility-service:8080
    depends_on:
      mysql:
        condition: service_healthy

  utility-service:
    image: vanessa19/utility-service:latest
    ports:
      - "8080:8080"
    depends_on:
       mysql:
        condition: service_healthy

Docker commands

docker compose -f oci://vanessa19/byebye-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

16185

Last Updated

4 days

Image


Pulls

133

Stars

0

Last Updated

4 months

Image


Pulls

88

Stars

0

Last Updated

4 months