static-web container
Go to file
2017-10-20 10:38:25 +02:00
Dockerfile static-misc: add mod_ssl (for proxying to TLS sites) 2017-10-20 10:38:25 +02:00
ingress.tmpl perlweb/static-misc: add history.perl.org 2017-09-23 01:51:33 -07:00
README.md Add proxy modules to apache container 2017-09-29 00:01:18 -07:00
run-httpd Make (very) old archive URLs work again 2017-09-23 21:30:51 -07:00

static-misc

Test locally

docker build -t quay.io/perl/static-web:v0.5 .
git clone git@git.develooper.com:perl-static-misc.git git

docker run -p 8000:80 --name static-misc \
   -v `pwd`/git:/git/static -v `pwd`/config:/web/config \
   -ti --rm quay.io/perl/static-web:v0.5

Test with

curl -H 'Host: i.perl.org' localhost:8000

To get a shell in the container run

docker exec -ti static-misc bash

And then run curl -H 'Host: i.perl.org' localhost there.

Production image

The "production image" is in https://quay.io/perl/static-web - the image is "manually" built and pushed because I didn't want to give quay access to all of this git repository.

REV=v1.0 IMAGE=quay.io/perl/static-web:$REV docker build -t $IMAGE . &&
docker push $IMAGE