sha256:06a3019d3a6dffe5529129b12f73e868d96b2917d8b218ecc134cd21e2a7f296
Last pushed
6 months by arturoovinuesaa
Type
Compose
Manifest digest
sha256:06a3019d3a6dffe5529129b12f73e868d96b2917d8b218ecc134cd21e2a7f296
services:
web:
# image: eduamongus/spring-webapp-compose:0.1.0
# image: dariogarciagomez/spring-webapp:1.0
# image: arturoovinuesaa/spring-webapp:1.0
image: alvarosource/spring-webapp:1.0
ports:
- 8443:8443
environment:
- SPRING_DATASOURCE_URL=jdbc:mysql://db/plantazon_db?createDatabaseIfNotExist=true
- SPRING_DATASOURCE_USERNAME=root
- SPRING_DATASOURCE_PASSWORD=Admin1234
depends_on:
db:
condition: service_healthy
db:
image: mysql:8.0
ports:
- 3307:3306
environment:
- MYSQL_ROOT_PASSWORD=Admin1234
- MYSQL_DATABASE=plantazon_db
volumes:
- db_data:/var/lib/mysql
healthcheck:
test: ["CMD-SHELL", "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://arturoovinuesaa/spring-webapp-compose:1.0 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
16185
Last Updated
7 days