Skip to content

Instantly share code, notes, and snippets.

@Daniel-Monroy
Last active March 25, 2021 20:02
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Daniel-Monroy/edff90cba89407090fc474de56e0e807 to your computer and use it in GitHub Desktop.
Save Daniel-Monroy/edff90cba89407090fc474de56e0e807 to your computer and use it in GitHub Desktop.
SpringBoot and Docker
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