Skip to content

Commit

Permalink
Preparing openldapaccount
Browse files Browse the repository at this point in the history
  • Loading branch information
istvank committed Nov 12, 2015
1 parent d3c5f42 commit 82ea204
Show file tree
Hide file tree
Showing 3 changed files with 30 additions and 3 deletions.
19 changes: 19 additions & 0 deletions docker-compose.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
openldapaccountdata:
container_name: openldapaccount-data
image: learninglayers/openldapaccount-data:0.0.1
openldapaccount:
container_name: openldapaccount
image: learninglayers/openldapaccount:0.0.1
volumes_from:
- openldapaccountdata
links:
- openldap
environment:
- PWM_LDAP_ADMINS=<value>koren</value><value>nicolaescu</value>
env_file:
- common.env
- services/openldap/LDAP.env
links:
- openldap
volumes:
- /dev/urandom:/dev/random
8 changes: 8 additions & 0 deletions nginx.conf
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
location /account {
proxy_pass http://openldapaccount:8080;
proxy_redirect default;
proxy_set_header Host $host;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-SSL-Verified $ssl_client_verify;
proxy_set_header X-SSL-Cert-Serial $ssl_client_serial;
}
6 changes: 3 additions & 3 deletions openldapaccount/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
FROM gordinlearninglayers/tomcat
FROM learninglayers/tomcat:7.0.65
MAINTAINER Yordan Manolov <[email protected]>
RUN chmod 766 -R /opt

RUN chmod 766 -R /opt

#ADD account/ $TOMCAT_HOME/webapps # -> Device or resource busy
ENV PWMCONF /opt/conf
Expand Down

0 comments on commit 82ea204

Please sign in to comment.