Skip to content

Instantly share code, notes, and snippets.

@markllama
Last active August 29, 2015 14:08
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save markllama/c9d14b388077fd589b99 to your computer and use it in GitHub Desktop.
Save markllama/c9d14b388077fd589b99 to your computer and use it in GitHub Desktop.
The description of a Pulp Apache/WSGI service container
FROM markllama/pulp-base
MAINTAINER Mark Lamourine <markllama@gmail.com>
#
# docker run -d --name pulp-apache \
# -v /dev/log:/dev/log --volumes-from pulp-content
# -p 443:443 \
# -e PULP_SERVER_NAME=pulp.example.com \
# -e SSL_TARBALL_URL=<url> markllama/pulp-apache
#
# SSL_TARBALL_URL must retrieve a TAR archive containing two files
# localhost.crt
# localhost.key
#
# These must be a key and signed certificate for the hostname indicated
# in PULP_SERVER_NAME
VOLUME [ "/var/www", "/var/lib/pulp" ]
WORKDIR /usr/share/httpd
EXPOSE 80 443
ADD run.sh /run.sh
CMD [ "/run.sh" ]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment