sha256:e62d398d366c77941811f2cc8d2fd720a496e4afe3ff65b33d58c2bdb9ac6ef4
Last pushed
6 months by samuelmelianbenito
Type
Compose
Manifest digest
sha256:e62d398d366c77941811f2cc8d2fd720a496e4afe3ff65b33d58c2bdb9ac6ef4
services:
web:
image: samuelmelianbenito/zendashop:0.0.1
ports:
- "8443:8443"
environment:
- SPRING_DATASOURCE_URL=jdbc:mysql://db/zenda
- SPRING_DATASOURCE_USERNAME=root
- SPRING_DATASOURCE_PASSWORD=password
depends_on:
db:
condition: service_healthy
db:
image: mysql:latest
environment:
- MYSQL_ROOT_PASSWORD=password
- MYSQL_DATABASE=zenda
volumes:
- db_data:/var/lib/mysql
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 compose -f oci://samuelmelianbenito/zendashop-compose:0.0.1 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
16189
Last Updated
8 days