sha256:bc6039c3b90809e80debda64188189b69b9a7e1242d32e32881de259ea8f546c
Last pushed
6 months by victormr999
Type
Compose
Manifest digest
sha256:bc6039c3b90809e80debda64188189b69b9a7e1242d32e32881de259ea8f546c
services:
db:
image: mysql:8.0.36
container_name: fuegolento-mysql
restart: on-failure
environment:
MYSQL_ROOT_PASSWORD: ${MYSQL_ROOT_PASSWORD}
MYSQL_DATABASE: ${MYSQL_DATABASE}
volumes:
- db_data:/var/lib/mysql
healthcheck:
test: ["CMD-SHELL", "mysqladmin ping -h localhost -uroot -p$$MYSQL_ROOT_PASSWORD || exit 1"]
interval: 5s
timeout: 5s
start_period: 15s
retries: 10
app:
image: ${DOCKERHUB_USER}/fuego-lento:latest
container_name: fuego-lento-app
restart: on-failure
ports:
- "8443:8443"
environment:
SPRING_PROFILES_ACTIVE: ${SPRING_PROFILE}
SPRING_DATASOURCE_URL: jdbc:mysql://db:3306/${MYSQL_DATABASE}?allowPublicKeyRetrieval=true&useSSL=false&serverTimezone=UTC
SPRING_DATASOURCE_USERNAME: root
SPRING_DATASOURCE_PASSWORD: ${MYSQL_ROOT_PASSWORD}
depends_on:
db:
condition: service_healthy
volumes:
db_data:
docker compose -f oci://victormr999/fuego-lento-compose:latest 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
16191
Last Updated
about 20 hours