sha256:fd8084ce01c50aa2de4684d5f79baedeeb8bcb1a38ac2ddb111d5b872bfc5f6b
Last pushed
6 months by eduamongus
Type
Compose
Manifest digest
sha256:fd8084ce01c50aa2de4684d5f79baedeeb8bcb1a38ac2ddb111d5b872bfc5f6b
services:
web:
# image: eduamongus/spring-webapp:1.0
# image: dariogarciagomez/spring-webapp:1.0
# image: arturoovinuesa/spring-webapp:1.0
# image alvarosource/spring-webapp:1.0
image: eduamongus/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://eduamongus/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
8 days