You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
32 lines
941 B
32 lines
941 B
3 years ago
|
version: '3'
|
||
|
|
||
|
services:
|
||
|
keycloak-db:
|
||
|
container_name: keycloak-db
|
||
|
image: postgres:13
|
||
|
restart: always
|
||
|
volumes:
|
||
|
- /mnt/containers/keycloak/container-data/db:/var/lib/postgresql/data:Z
|
||
|
environment:
|
||
|
POSTGRES_DB: keycloak
|
||
|
POSTGRES_USER: keycloak
|
||
|
POSTGRES_PASSWORD: ${POSTGRES_PASSWORD}
|
||
|
keycloak:
|
||
|
container_name: keycloak
|
||
3 years ago
|
image: bitnami/keycloak
|
||
3 years ago
|
restart: always
|
||
|
environment:
|
||
3 years ago
|
KEYCLOAK_DATABASE_HOST: keycloak-db
|
||
|
KEYCLOAK_DATABASE_NAME: keycloak
|
||
|
KEYCLOAK_DATABASE_USER: keycloak
|
||
|
KEYCLOAK_DATABASE_SCHEMA: public
|
||
|
KEYCLOAK_DATABASE_PASSWORD: ${POSTGRES_PASSWORD}
|
||
3 years ago
|
KEYCLOAK_ADMIN: admin
|
||
|
KEYCLOAK_ADMIN_PASSWORD: ${KEYCLOAK_PASSWORD}
|
||
3 years ago
|
PROXY_ADDRESS_FORWARDING: "true"
|
||
3 years ago
|
KEYCLOAK_FRONTEND_URL: https://auth.jaredtsmith.com/
|
||
3 years ago
|
ports:
|
||
|
- 8080:8080
|
||
3 years ago
|
depends_on:
|
||
|
- keycloak-db
|