Sign inSign up

granlobo2004/myerasmusjourney-app:main-2b58cd2-1847

Manifest digest

sha256:36d3432d3bb67c2b688fdad2bb3b1644d115e35b927aaddda1863d410ecf41c1

Last pushed

20 days by granlobo2004

Type

Compose

Manifest digest

sha256:36d3432d3bb67c2b688fdad2bb3b1644d115e35b927aaddda1863d410ecf41c1

Compose file content

services:
  app:
    image: granlobo2004/myerasmusjourney:${TAG}
    platform: linux/amd64

    ports:
      - target: 8443
        published: 8443

    environment:
      DB_URL: jdbc:mysql://db:3306/myerasmusjourney
      DB_USERNAME: root
      DB_PASSWORD: password
      DB_MODE: update
      PORT: 8443
      SSL_ENABLED: true
      KEY_STORE: example.jks
      KEY_PASSWORD: password
      ADMIN_EMAIL: [email protected]
      ADMIN_PASSWORD: password

    depends_on:
      db:
        condition: service_healthy

  db:
    image: mysql:9.2
    environment:
      MYSQL_ROOT_PASSWORD: password
      MYSQL_DATABASE: myerasmusjourney
    volumes:
      - db_data:/var/lib/mysql
    ports:
      - target: 3306
        published: 3306
    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://granlobo2004/myerasmusjourney-app:main-2b58cd2-1847 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

5 days

Compose + 1 more


Pulls

1.1K

Stars

0

Last Updated

3 days