Sign inSign up

albertoml1999/goeventsnow-compose:0.1

Manifest digest

sha256:21f7a2816e5a9332a178a49f626336c4dc8c4e45d1d64cd1ea5363086b3195f2

Last pushed

5 months by albertoml1999

Type

Compose

Manifest digest

sha256:21f7a2816e5a9332a178a49f626336c4dc8c4e45d1d64cd1ea5363086b3195f2

Compose file content

version: '3.8'

services:
  database:
    image: mysql:8.0
    container_name: goeventsnow-db
    environment:
      MYSQL_DATABASE: goeventsnow_db
      MYSQL_ROOT_PASSWORD: password
    healthcheck:
      test: ["CMD-SHELL", "mysqladmin ping -h localhost -uroot -p$$MYSQL_ROOT_PASSWORD"]
      interval: 10s
      timeout: 5s
      retries: 5
    networks:
      - goeventsnow-net

  webapp:
    image: albertoml1999/goeventsnow-app:0.1
    container_name: goeventsnow-app
    depends_on:
      database:
        condition: service_healthy
    ports:
      - "443:443"
    environment:
      - SPRING_DATASOURCE_URL=jdbc:mysql://database:3306/goeventsnow_db?serverTimezone=UTC&useSSL=false&allowPublicKeyRetrieval=true
      - SPRING_DATASOURCE_USERNAME=root
      - SPRING_DATASOURCE_PASSWORD=password
      - SERVER_PORT=443
      - SERVER_SSL_KEY_STORE=classpath:keystore.jks
      - SERVER_SSL_KEY_STORE_PASSWORD=password
      - SERVER_SSL_KEY_STORE_TYPE=JKS
      - SERVER_SSL_KEY_ALIAS=goeventsnow
    networks:
      - goeventsnow-net

networks:
  goeventsnow-net:
    driver: bridge

Docker commands

docker compose -f oci://albertoml1999/goeventsnow-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

16189

Last Updated

8 days

Image


Pulls

822

Stars

0

Last Updated

4 months