#113 Save progress in commented block, fallback to working dev config
This commit is contained in:
parent
5c28692647
commit
1bf9173727
@ -1,21 +1,42 @@
|
||||
version: '3'
|
||||
|
||||
services:
|
||||
# keycloak-wip:
|
||||
# #image: quay.io/keycloak/keycloak:19.0
|
||||
# build:
|
||||
# dockerfile: Dockerfile
|
||||
# context: .
|
||||
# container_name: keycloak_keycloak
|
||||
# volumes:
|
||||
# - $KEYCLOAK_DATA/import:/opt/keycloak/data/import
|
||||
# networks:
|
||||
# web:
|
||||
# aliases:
|
||||
# - keycloak
|
||||
# keycloak:
|
||||
# restart: "no"
|
||||
# command: start --db=postgres --features=token-exchange #--hostname-url=https://keycloak.jafner.net --proxy=passthrough
|
||||
# env_file:
|
||||
# - keycloak.env
|
||||
# - keycloak_secrets.env
|
||||
# labels:
|
||||
# traefik.http.routers.keycloak.rule: Host(`keycloak.jafner.net`)
|
||||
# traefik.http.routers.keycloak.tls.certresolver: lets-encrypt
|
||||
# #traefik.http.routers.keycloak.middlewares: lan-only@file
|
||||
# traefik.http.services.keycloak.loadbalancer.server.port: 8080
|
||||
|
||||
keycloak:
|
||||
#image: quay.io/keycloak/keycloak:19.0
|
||||
build:
|
||||
dockerfile: Dockerfile
|
||||
context: .
|
||||
image: quay.io/keycloak/keycloak:19.0
|
||||
container_name: keycloak_keycloak
|
||||
volumes:
|
||||
- $KEYCLOAK_DATA/import:/opt/keycloak/data/import
|
||||
- $KEYCLOAK_DATA:/opt/keycloak/data
|
||||
networks:
|
||||
web:
|
||||
aliases:
|
||||
- keycloak
|
||||
keycloak:
|
||||
restart: "no"
|
||||
command: start --db=postgres --features=token-exchange --db-username=${KC_DB_USERNAME} --db-password=${KC_DB_PASSWORD} #--hostname-url=https://keycloak.jafner.net --proxy=passthrough
|
||||
command: start-dev --hostname-url=https://keycloak.jafner.net --proxy=passthrough
|
||||
env_file:
|
||||
- keycloak.env
|
||||
- keycloak_secrets.env
|
||||
|
Loading…
Reference in New Issue
Block a user