sha256:04a14f2b0389e0e44b1d3a9481f33d1db463a69c5c7f51b9ff77243531f28d62
Last pushed
3 months by atrigueror
Type
Compose
Manifest digest
sha256:04a14f2b0389e0e44b1d3a9481f33d1db463a69c5c7f51b9ff77243531f28d62
services:
db:
image: mysql:8.4
container_name: ladob-db
restart: unless-stopped
environment:
MYSQL_DATABASE: ladob
MYSQL_USER: ladob
MYSQL_PASSWORD: Th1$$1$$MyP@$$$$W0Rd
MYSQL_ROOT_PASSWORD: Th1$$1$$MyP@$$$$W0Rd
volumes:
- mysql-data:/var/lib/mysql
healthcheck:
test: ["CMD", "mysqladmin", "ping", "-h", "127.0.0.1", "-u", "root", "--password=Th1$$1$$MyP@$$$$W0Rd", "--silent"]
interval: 5s
timeout: 5s
retries: 20
start_period: 20s
app:
image: atrigueror/ladob-api:latest
container_name: ladob-app
ports:
- "8443:8443"
- "8080:8080"
environment:
SPRING_DATASOURCE_URL: jdbc:mysql://db:3306/ladob?createDatabaseIfNotExist=true&useSSL=false&allowPublicKeyRetrieval=true
SPRING_DATASOURCE_USERNAME: root
SPRING_DATASOURCE_PASSWORD: Th1$$1$$MyP@$$$$W0Rd
SPRING_JPA_HIBERNATE_DDL_AUTO: ${DDL_AUTO:-none}
depends_on:
db:
condition: service_healthy
volumes:
mysql-data:
docker compose -f oci://atrigueror/ladob-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 3 hours