sha256:950a7537024d650b6d9964e820635415bdf0258fba3d101e794ffbaa2ca8126f
Last pushed
1 day by granlobo2004
Type
Compose
Manifest digest
sha256:950a7537024d650b6d9964e820635415bdf0258fba3d101e794ffbaa2ca8126f
services:
app:
build:
context: ..
dockerfile: docker/Dockerfile
image: granlobo2004/myerasmusjourney:${TAG:-0.1.0}
platform: linux/amd64
ports:
- "8443:8443"
environment:
DB_URL: ${DB_URL:-jdbc:mysql://db:3306/myerasmusjourney}
DB_USERNAME: ${DB_USERNAME:-root}
DB_PASSWORD: ${DB_PASSWORD:-password}
DB_MODE: ${DB_MODE:-update}
PORT: ${PORT:-8443}
SSL_ENABLED: ${SSL_ENABLED:-true}
KEY_STORE: ${KEY_STORE:-example.jks}
KEY_PASSWORD: ${KEY_PASSWORD:-password}
ADMIN_EMAIL: ${ADMIN_EMAIL:[email protected]}
ADMIN_PASSWORD: ${ADMIN_PASSWORD:-password}
SPRING_PROFILES_ACTIVE: ${SPRING_PROFILES_ACTIVE:-default}
depends_on:
db:
condition: service_healthy
db:
image: mysql:9.2
environment:
MYSQL_ROOT_PASSWORD: ${DB_PASSWORD:-password}
MYSQL_DATABASE: myerasmusjourney
volumes:
- db_data:/var/lib/mysql
ports:
- "3306:3306"
healthcheck:
test: ["CMD-SHELL", "mysqladmin ping -h localhost -uroot -p$${MYSQL_ROOT_PASSWORD} --silent"]
interval: 5s
timeout: 5s
start_period: 15s
retries: 10
volumes:
db_data:docker compose -f oci://granlobo2004/myerasmusjourney-app:dev upUse the above command to pull and run the Compose file. Learn more.
MySQL is a widely used, open-source relational database management system (RDBMS).
Pulls
1B+
Stars
16190
Last Updated
5 days