1 # ============LICENSE_START===============================================
2 # Copyright (C) 2023 Nordix Foundation. All rights reserved.
3 # ========================================================================
4 # Licensed under the Apache License, Version 2.0 (the "License");
5 # you may not use this file except in compliance with the License.
6 # You may obtain a copy of the License at
8 # http://www.apache.org/licenses/LICENSE-2.0
10 # Unless required by applicable law or agreed to in writing, software
11 # distributed under the License is distributed on an "AS IS" BASIS,
12 # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 # See the License for the specific language governing permissions and
14 # limitations under the License.
15 # ============LICENSE_END=================================================
22 name: nonrtric-docker-net
26 image: ${BUNDLE_IMAGE}
27 container_name: bundle-server
31 - ./config/bundle-server/bundle.tar.gz:/usr/share/nginx/html/bundle.tar.gz
37 container_name: opa-kafka
43 - "--log-format=json-pretty"
44 - "--set=decision_logs.console=true"
45 - "--set=services.authz.url=http://bundle-server"
46 - "--set=bundles.authz.service=authz"
47 - "--set=bundles.authz.resource=bundle.tar.gz"
54 image: ${KEYCLOAK_IMAGE}
55 container_name: keycloak
58 - "--https-key-store-file=/etc/x509/https/keycloak.server.keystore.p12"
59 - "--https-key-store-password=$${KC_KEYSTORE_PASSWORD}"
60 - "--https-key-store-type=PKCS12"
61 - "--https-trust-store-file=/etc/x509/https/keycloak.client.truststore.p12"
62 - "--https-trust-store-password=$${KC_KEYSTORE_PASSWORD}"
63 - "--https-trust-store-type=PKCS12"
64 - "--https-client-auth=request"
65 - "--http-enabled=true"
70 - KEYCLOAK_ADMIN=admin
71 - KEYCLOAK_ADMIN_PASSWORD=admin
72 - KC_KEYSTORE_PASSWORD=changeit
73 - KC_HOSTNAME=keycloak
74 - KC_HTTP_ENABLED=true
75 - KC_HTTPS_CLIENT_AUTH=request
77 - ./config/keycloak/certs/keycloak.client.truststore.p12:/etc/x509/https/keycloak.client.truststore.p12
78 - ./config/keycloak/certs/keycloak.server.keystore.p12:/etc/x509/https/keycloak.server.keystore.p12