Skip to content

Commit

Permalink
add proxy
Browse files Browse the repository at this point in the history
  • Loading branch information
pcaskey committed Oct 26, 2020
1 parent 8c49ea6 commit 678e8b5
Show file tree
Hide file tree
Showing 3 changed files with 23 additions and 3 deletions.
14 changes: 11 additions & 3 deletions Workbench/docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ services:
aliases:
- grouper-ui
ports:
- 4443:443
- 8443:443
secrets:
- g_database_password.txt
- source: grouper.hibernate.properties
Expand Down Expand Up @@ -191,7 +191,7 @@ services:
depends_on:
- midpoint_data
ports:
- 8443:443
- 10443:443
environment:
- ENV
- USERTOKEN
Expand Down Expand Up @@ -242,7 +242,7 @@ services:
networks:
- net
ports:
- 443:443
- 13443:443

mq:
build: ./mq/
Expand All @@ -256,6 +256,13 @@ services:
volumes:
- mq:/var/lib/rabbitmq

webproxy:
build: ./webproxy/
networks:
- net
ports:
- 443:443

networks:
net:
driver: bridge
Expand Down Expand Up @@ -296,3 +303,4 @@ volumes:
midpoint_mysql:
midpoint_home:
mq:

4 changes: 4 additions & 0 deletions Workbench/webproxy/Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
FROM tier/shibboleth_sp:latest

COPY container_files/httpd/proxy.conf /etc/httpd/conf.d/

8 changes: 8 additions & 0 deletions Workbench/webproxy/container_files/httpd/proxy.conf
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
#Proxy config
ProxyPass /midpoint https://midpoint_server:10443/midpoint
ProxyPass /grouper https://grouper_ui:8443/grouper
ProxyPass /grouper-ws https://grouper_ws:9443/grouper-ws
ProxyPass /idp https://idp:13443/
ProxyPass /rabbit https://rabbit:15672/
ProxyPass /comanage https://comanage:12443/

0 comments on commit 678e8b5

Please sign in to comment.