https://github.com/worteks/docker-apache
Apache2.4 Docker Image
https://github.com/worteks/docker-apache
Last synced: 12 months ago
JSON representation
Apache2.4 Docker Image
- Host: GitHub
- URL: https://github.com/worteks/docker-apache
- Owner: Worteks
- Created: 2019-06-19T09:28:46.000Z (about 7 years ago)
- Default Branch: master
- Last Pushed: 2019-11-23T18:54:45.000Z (over 6 years ago)
- Last Synced: 2025-02-27T07:27:23.829Z (over 1 year ago)
- Language: Shell
- Size: 13.7 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# SweetApache
Generic Apache image running Sweet services.
Build with:
```
$ make build
```
Test with:
```
$ make run
```
Build in OpenShift:
```
$ make ocbuild
```
Cleanup OpenShift assets:
```
$ make ocpurge
```
Environment variables and volumes
----------------------------------
The image recognizes the following environment variables that you can set during
initialization by passing `-e VAR=VALUE` to the Docker `run` command.
| Variable name | Description | Default |
| :------------------------- | ------------------------- | ------------------------------------------------------------------ |
| `APACHE_DOMAIN` | Apache ServerName | `example.com` |
| `APACHE_IGNORE_OPENLDAP` | Ignore LemonLDAP autoconf | undef |
| `APACHE_HTTP_PORT` | Apache Listen Port | `8080` |
| `OPENLDAP_BASE` | OpenLDAP Base | seds `OPENLDAP_DOMAIN`, `example.com` produces `dc=example,dc=com` |
| `OPENLDAP_BIND_DN_RREFIX` | OpenLDAP Bind DN Prefix | `cn=apache,ou=services` |
| `OPENLDAP_BIND_PW` | OpenLDAP Bind Password | `secret` |
| `OPENLDAP_CONF_DN_RREFIX` | OpenLDAP Conf DN Prefix | `cn=lemonldap,ou=config` |
| `OPENLDAP_DOMAIN` | OpenLDAP Domain Name | undef |
| `OPENLDAP_HOST` | OpenLDAP Backend Address | undef |
| `OPENLDAP_PORT` | OpenLDAP Bind Port | `389` or `636` depending on `OPENLDAP_PROTO` |
| `OPENLDAP_PROTO` | OpenLDAP Proto | `ldap` |
| `PUBLIC_PROTO` | Apache Public Proto | `http` |
| Volume mount point | Description |
| :-------------------------------------- | ------------------------------------------------------------------------------- |
| `/var/apache-secrets` | Apache Secrets root - install server.crt, server.key and ca.crt to enable https |
| `/vhosts` | Apache VirtualHosts templates root - processed during container start |