sshwifty/docker-compose.yml
2023-12-08 15:15:45 +01:00

35 lines
817 B
YAML

version: "3.9"
services:
# SSHWIFTY
sshwifty:
container_name: sshwifty
user: "nobody:nobody"
restart: always
build:
context: .
ports:
- 8182:8182
volumes:
- /etc/timezone:/etc/timezone:ro
- /etc/localtime:/etc/localtime:ro
# KEYCLOAK GATEKEEPER
gatekeeper:
container_name: gatekeeper
restart: always
build:
context: ./keycloak-gatekeeper/.
ports:
- 8880:8880
depends_on:
- sshwifty
command:
- "--discovery-url=https://<keycloak-dns>/auth/realms/<realm>/.well-known/openid-configuration"
- "--client-id=sshwifty"
- "--client-secret="
- "--listen=0.0.0.0:8880"
- "--upstream-url=http://sshwifty:8182"
volumes:
- /etc/timezone:/etc/timezone:ro
- /etc/localtime:/etc/localtime:ro