Search
 
SCRIPT & CODE EXAMPLE
 

SHELL

keycloak docker

docker run -p 8080:8080 -e KEYCLOAK_USER=admin -e KEYCLOAK_PASSWORD=admin quay.io/keycloak/keycloak:11.0.3
Comment

keycloak docker

docker run -p 8080:8080 -e KEYCLOAK_ADMIN=admin -e KEYCLOAK_ADMIN_PASSWORD=admin quay.io/keycloak/keycloak:18.0.2 start-dev
Comment

keycloak docker

version: '3.1'
services:
  keycloak:
    image: quay.io/keycloak/keycloak:15.0.1
    ports:
      - '8080:8080'
    environment:
      - KEYCLOAK_USER=admin
      - KEYCLOAK_PASSWORD=admin
Comment

keycloak docker hub

version: "3"
services:
  #=================================
  # AUTH SERVICES ENVIRONMENT
  #=================================
  auth:
    image: jboss/keycloak:latest
    environment:
      - KEYCLOAK_USER='admin'
      - KEYCLOAK_PASSWORD='admin'
      - KC_DB='postgres'
      - KC_DB_URL='jdbc:postgresql://localhost/postgres'
      - KC_DB_USERNAME='admin123'
      - KC_DB_PASSWORD='admin123'
    ports:
      - 8080:8080
    depends_on:
      - database
    networks:
      - go_networks
  #=================================
  # DATABASE SERVICES ENVIRONMENT
  #=================================
  database:
    image: postgres:14-alpine
    environment:
      - POSTGRES_DB='postgres'
      - POSTGRES_USER='admin123'
      - POSTGRES_PASSWORD='admin123'
    ports:
      - 5432:5432
    volumes:
      - database:/var/lib/postgres/data
    networks:
      - go_networks
  #=================================
  # VOLUME PERSISTENT DATA
  #=================================
volumes:
  database:
  #=================================
  # NETWORK SHARING GROUP
  #=================================
networks:
  go_networks:
Comment

docker keycloak

docker run -p 8080:8080 -e KEYCLOAK_ADMIN=admin -e KEYCLOAK_ADMIN_PASSWORD=admin quay.io/keycloak/keycloak:19.0.1 start-dev
Comment

keycloack docker

version: "3"
services:
  keycloak:
    image: quay.io/keycloak/keycloak:legacy
    environment:
      - KEYCLOAK_USER=admin
      - KEYCLOAK_PASSWORD=admin
      - DB_VENDOR=POSTGRES
      - DB_ADDR=pg
      - DB_PORT=5432
      - DB_USER=admin123
      - DB_PASSWORD=admin123
      - JDBC_PARAMS=ssl=false
    ports:
      - 8080:8080
    depends_on:
      - pg
    networks:
      - keycloak_network

  pg:
    image: postgres:14-alpine
    environment:
      - POSTGRES_DB=keycloak
      - POSTGRES_USER=admin123
      - POSTGRES_PASSWORD=admin123
    ports:
      - 5432:5432
    volumes:
      - pg:/var/lib/postgres
    networks:
      - keycloak_network

volumes:
  pg:

networks:
  keycloak_network:
Comment

PREVIOUS NEXT
Code Example
Shell :: install piper ubuntu 
Shell :: mac refresh terminal 
Shell :: the current branch has no upstream branch error 
Shell :: git change commit author for all commits 
Shell :: shell script remove file if exists 
Shell :: could not connect to server: Connection refused Is the server running on host and accepting TCP/IP connections on port 5432? 
Shell :: firebase only hosting command 
Shell :: .gitignore global 
Shell :: center dock icons ubuntu 
Shell :: how to get powers 
Shell :: linux install yarn 
Shell :: install tqdm 
Shell :: git config credential.helper cache 
Shell :: debian bullseye sources.list security 
Shell :: install pycodestyle in ubuntu 
Shell :: git stash list with date 
Shell :: rem command in batch file 
Shell :: git graph code 
Shell :: how to install node js in ubuntu 
Shell :: how to open pdf from ubuntu terminal 
Shell :: zip files in folder linux 
Shell :: generate 6 digit random number ruby 
Shell :: install node js from ubuntu 
Shell :: set trustedinstaller as owner 
Shell :: ubuntu find file with text 
Shell :: github how to clone private repo 
Shell :: systemctl status apache2.service 
Shell :: how to get all file names in a folder in shell script 
Shell :: how to change git author 
Shell :: linux temp file 
ADD CONTENT
Topic
Content
Source link
Name
5+8 =