https://github.com/petemcw/docker-apache
Docker container for Apache
https://github.com/petemcw/docker-apache
apache docker docker-image proxy reverse-proxy unraid
Last synced: about 2 months ago
JSON representation
Docker container for Apache
- Host: GitHub
- URL: https://github.com/petemcw/docker-apache
- Owner: petemcw
- Created: 2015-11-23T05:16:50.000Z (over 10 years ago)
- Default Branch: master
- Last Pushed: 2015-11-23T05:17:58.000Z (over 10 years ago)
- Last Synced: 2025-05-29T15:14:43.891Z (about 1 year ago)
- Topics: apache, docker, docker-image, proxy, reverse-proxy, unraid
- Language: Shell
- Homepage:
- Size: 1000 Bytes
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# petemcw/docker-apache
This is an Apache web server container with reverse proxy services enabled. Reverse proxy gives the ability to visit http://www.domain.com/service and serve http://www.domain.com:8351. You can also enable HTTPS.

## Usage
```
docker create --name=apache -v :/config \
-e PGID= \
-e PUID= \
petemcw/apache
```
**Parameters**
* `-v /config`
* `-e PGID` for GroupID - *optional*
* `-e PUID` for UserID - *optional*
* The ports `80` and `443` are exposed
It is based on phusion-baseimage with ssh removed, for shell access whilst the container is running do `docker exec -it apache /bin/bash`.
## Setting up the application
* Config files are located in `/config/apache`
* Place web files in `/config/www`
* Place keys in `/config/keys`
## Updates
* Upgrade to the latest version simply `docker restart apache`.
* To monitor the logs of the container in real-time `docker logs -f apache`.
## Credits
This Docker container is based on the great work from the team at [LinuxServer.io](https://www.linuxserver.io/).