https://github.com/kh77/dockercompose-mysql
Spring boot docker compose with Mysql
https://github.com/kh77/dockercompose-mysql
docker docker-compose java spring-boot
Last synced: 2 months ago
JSON representation
Spring boot docker compose with Mysql
- Host: GitHub
- URL: https://github.com/kh77/dockercompose-mysql
- Owner: kh77
- Created: 2022-05-08T19:05:21.000Z (about 4 years ago)
- Default Branch: main
- Last Pushed: 2022-05-08T19:08:03.000Z (about 4 years ago)
- Last Synced: 2026-01-03T22:08:02.773Z (5 months ago)
- Topics: docker, docker-compose, java, spring-boot
- Language: Java
- Homepage:
- Size: 53.7 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Spring-Boot MySQL docker compose project
Run docker compose:
- docker-compose up
Run docker compose in the background:
- docker-compose up -d
Stop docker compose:
- docker-compose down
If you need to stop and remove all containers, networks, and all images used by any service in docker-compose.yml file, use the command:
- docker-compose down --rmi all
Docker compose file (docker-compose.yml) will build the DockerFile then create an image (springboot-app) then mysql image will be pulled and bind with springboot-app image.