Public | Automated Build

Last pushed: 9 days ago
Short Description
Apache HTTP Server, Reverse Proxy [httpd.apache.org] on Ubuntu Xenial
Full Description

Usage

docker run \
--rm \
--detach \
--init \
--name proxy \
--hostname proxy \
--volume proxy-config:/config \
--publish 13579:3579 \
--publish 17539:7539 \
--publish 18181:8181 \
--publish 17878:7878 \
--publish 18080:8080 \
--publish 18989:8989 \
--publish 19091:9091 \
--publish 19092:9092 \
--env "HTTPD_SERVERNAME=**sub.do.main**" \
--env "OMBI_SERVERNAME=ombi" \
--env "OMBI_PORT=3579" \
--env "PLEXINDEXSTATUS_SERVERNAME=plexindexstatus" \
--env "PLEXINDEXSTATUS_PORT=7539" \
--env "PLEXPY_SERVERNAME=plexpy" \
--env "PLEXPY_PORT=8181" \
--env "RADARR_SERVERNAME=radarr" \
--env "RADARR_PORT=7878" \
--env "SABNZBD_SERVERNAME=sabnzbd" \
--env "SABNZBD_PORT=8080" \
--env "SONARR_SERVERNAME=sonarr" \
--env "SONARR_PORT=8989" \
--env "TRANSMISSION_PRIVATE_SERVERNAME=transmission-private" \
--env "TRANSMISSION_PRIVATE_PORT=9092" \
--env "TRANSMISSION_PUBLIC_SERVERNAME=transmission-public" \
--env "TRANSMISSION_PUBLIC_PORT=9091" \
bmoorman/proxy

Create users

htpasswd /config/httpd/auth/{plexindexstatus,plexpy,radarr,sabnzbd,sonarr,transmission-private,transmission-public}.auth <username>

Create Let's Encrypt certificate (restart container after)

certbot certonly --manual --preferred-challenges dns --domain ${HTTPD_SERVERNAME} && mkdir /config/httpd/letsencrypt
cp /etc/letsencrypt/live/${HTTPD_SERVERNAME}/live/privkey.pem /config/httpd/letsencrypt/${HTTPD_SERVERNAME}.key
cp /etc/letsencrypt/live/${HTTPD_SERVERNAME}/live/fullchain.pem /config/httpd/letsencrypt/${HTTPD_SERVERNAME}.crt
ln --symbolic --force /config/httpd/letsencrypt/${HTTPD_SERVERNAME}.crt /config/httpd/ssl/{ombi,plexindexstatus,plexpy,radarr,sabnzbd,sonarr,transmission-private,transmission-public}.crt
ln --symbolic --force /config/httpd/letsencrypt/${HTTPD_SERVERNAME}.key /config/httpd/ssl/{ombi,plexindexstatus,plexpy,radarr,sabnzbd,sonarr,transmission-private,transmission-public}.key
Docker Pull Command
Owner
bmoorman
Source Repository