You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
25 lines
615 B
YAML
25 lines
615 B
YAML
version: "3.9"
|
|
|
|
services:
|
|
|
|
service:
|
|
image: exemple.service
|
|
# ports:
|
|
# - NO:NO
|
|
|
|
gatekeeper:
|
|
image: dockerregistry.legaragenumerique.fr/gatekeeper
|
|
build:
|
|
context: keycloak-gatekeeper/
|
|
container_name: gatekeeper
|
|
restart: always
|
|
ports:
|
|
- 8880:8880
|
|
depends_on:
|
|
- <MON_SERVICE>
|
|
command:
|
|
- "--discovery-url=https://<MON_KEYCLOAK>/auth/realms/<MON_REALM>/.well-known/openid-configuration"
|
|
- "--client-id=<CLIENT_ID>"
|
|
- "--client-secret=<CLIENT_SECRET>"
|
|
- "--listen=0.0.0.0:8880"
|
|
- "--upstream-url=http://<MON_SERVICE>:<PORT>" |