This container is a simple Apache server used to proxy traffic to other Docker containers running on the tools box. The assumtion is that we are using linking to allow the apache container to communicate with the other tools containers.
The base container for this project is the easksd/apache. This is where the startup script is defined. Please also see that project for other configuration requirements.
This means we should use standard names for deploying the tools containers so the linking works properly and we have the coorect domain names setup automatically for us in the /etc/hosts file.
Currently we have the following tools containers configured for apache to proxy traffic to:
| Tool | Docker Name | Docker Image | Tag | GitHub Project/Branch |
|---|---|---|---|---|
| Jenkins | ksd-tools-jenkins | easksd/jenkins | latest | |
| Nexus | ksd-tools-nexus | sonatype/nexus | oss |
The following environment variables need to be set for this container:
In the base project we define a volume for the security directory. This contains secure keys required for shib to work. The security share should be mounted on the host and shared with the container at /security
Here is an example command to run this container:
$ docker run -d \
-p 80:80 \
-e "SERVER_NAME=ka-tools.mosaic.arizona.edu"
--name ksd-tools-apache \
--link ksd-tools-jenkins:ksd-tools-jenkins \
--link ksd-tools-nexus:ksd-tools-nexus \
-v /kuali-configs/security/tools/apache/:/security
easksd/tools-apache \
/start_apache.sh
Content type
Image
Digest
sha256:7177dfb2a…
Size
153.9 MB
Last updated
about 11 years ago
docker pull easksd/tools-apache