/keycloak-docker-compose-postgres

Keycloak 22.0.3 bitnami version in docker compose with database postgres

Primary LanguageShellMIT LicenseMIT

Docker Compose keyclocak and Postgres example

Start the system using the script

Run the script start start.sh or Compile with maven and run docker with build image

Run script start

Edit the file to compile with maven and them run

sh start.sh

Start the system using the command line

Run docker with build image (--build) in background (-d)

docker-compose up --build -d`

Run the System

docker-compose up

The services can be run on the background with command:

docker-compose up -d

Stop the system using the script

Run the script stop stop.sh

Run script stop

sh stop.sh

Start the system using the command line

stop all running containers

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