# # Copyright © 2021,2022 IsardVDI S.L. # # This file is part of DD # # DD is free software: you can redistribute it and/or modify # it under the terms of the GNU Affero General Public License as published by # the Free Software Foundation, either version 3 of the License, or (at your # option) any later version. # # DD is distributed in the hope that it will be useful, but WITHOUT ANY # WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS # FOR A PARTICULAR PURPOSE. See the GNU Affero General Public License for more # details. # # You should have received a copy of the GNU Affero General Public License # along with DD. If not, see . # # SPDX-License-Identifier: AGPL-3.0-or-later version: '3.7' services: dd-sso-admin: container_name: dd-sso-admin build: context: ${BUILD_SSO_ROOT_PATH} dockerfile: admin/docker/Dockerfile target: production # args: ## DEVELOPMENT # SSH_ROOT_PWD: ${IPA_ADMIN_PWD} # SSH_PORT: 2022 networks: - dd_net # ports: # - "2022:22" # - "9000:9000" restart: unless-stopped volumes: - /etc/localtime:/etc/localtime:ro - ${BUILD_SSO_ROOT_PATH}/admin/src:/admin # Revome in production - ${BUILD_SSO_ROOT_PATH}/init/keycloak/jsons:/admin/keycloak-init:ro - ${CUSTOM_PATH}/custom:/admin/custom - ${DATA_FOLDER}/avatars:/admin/avatars:ro - ${DATA_FOLDER}/moodle/saml2:/admin/moodledata/saml2:rw - ${DATA_FOLDER}/saml_certs:/admin/saml_certs:rw - ${DATA_FOLDER}/legal:/admin/admin/static/templates/pages/legal:rw env_file: - .env environment: - VERIFY="false" # In development do not verify certificates - DOMAIN=${DOMAIN} - MANAGED_EMAIL_DOMAIN=${MANAGED_EMAIL_DOMAIN}