Last active
March 25, 2021 20:02
-
-
Save Daniel-Monroy/edff90cba89407090fc474de56e0e807 to your computer and use it in GitHub Desktop.
SpringBoot and Docker
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Keycloak Init | |
./standalone.sh -Djboss.socket.binding.port-offset=100 | |
Clean images: | |
`mvn clean package -DskipTests` | |
Build Images | |
`docker build ./ -t app-name` | |
How connected with postgres in docker: | |
- docker ps | |
- docker exec -it "container-id" bash | |
- psql -U postgres | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment