Skip to content
Permalink
91fd1bdfcf
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Go to file
 
 
Cannot retrieve contributors at this time
81 lines (75 sloc) 2.02 KB
#
# Building:
# - docker-compose up --build
#
# It assumes that midpoint-3.9-SNAPSHOT-dist.tar.gz is present in the 'midpoint-server' directory. (TODO: eliminate this!)
#
version: "3.3"
services:
midpoint-data:
image: tier/mariadb:mariadb10
ports:
- 3306:3306
networks:
- back
volumes:
- midpoint_data:/var/lib/mysql
midpoint-server:
build: ./midpoint-server/
ports:
- 8443:443
environment:
- AUTHENTICATION
- ENV
- USERTOKEN
- REPO_DATABASE_TYPE
- REPO_JDBC_URL
- REPO_HOST
- REPO_PORT
- REPO_DATABASE
- REPO_USER
- REPO_PASSWORD_FILE
- KEYSTORE_PASSWORD_FILE
- MEM
- SSO_HEADER
- LOGOUT_URL
- TIER_BEACON_OPT_OUT
networks:
- back
secrets:
- m_database_password.txt
- m_keystore_password.txt
- m_sp-key.pem
- m_host-key.pem
volumes:
- midpoint_home:/opt/midpoint/var
- type: bind
source: ./configs-and-secrets/midpoint/shibboleth/shibboleth2.xml
target: /etc/shibboleth/shibboleth2.xml
- type: bind
source: ./configs-and-secrets/midpoint/shibboleth/idp-metadata.xml
target: /etc/shibboleth/idp-metadata.xml
- type: bind
source: ./configs-and-secrets/midpoint/shibboleth/sp-cert.pem
target: /etc/shibboleth/sp-cert.pem
- type: bind
source: ./configs-and-secrets/midpoint/httpd/host-cert.pem
target: /etc/pki/tls/certs/host-cert.pem
- type: bind
source: ./configs-and-secrets/midpoint/httpd/host-cert.pem
target: /etc/pki/tls/certs/cachain.pem
networks:
back:
driver: bridge
secrets:
m_host-key.pem:
file: ./configs-and-secrets/midpoint/httpd/host-key.pem
m_sp-key.pem:
file: ./configs-and-secrets/midpoint/shibboleth/sp-key.pem
m_database_password.txt:
file: ./configs-and-secrets/midpoint/application/database_password.txt
m_keystore_password.txt:
file: ./configs-and-secrets/midpoint/application/keystore_password.txt
volumes:
midpoint_data:
midpoint_home: