Skip to content
This repository has been archived by the owner on Oct 6, 2021. It is now read-only.

Latest commit

 

History

History
17 lines (15 loc) · 445 Bytes

README.md

File metadata and controls

17 lines (15 loc) · 445 Bytes

Copy example/config.sh to the directory of your choice. Modify as desired.

When you're ready, run with something like:

$ ./generate.sh /path/to/target/config.sh
$ docker run -d \
	--name nginx \
	-p 80:80 \
	--dns 172.17.42.1 \
	-v /path/to/target:/etc/nginx/conf.d:ro \
	-v /path/to/static/resources/referenced/in/config:/static:ro \
	--restart always \
	nginx
$ sleep 1 # to give it a moment to come up
$ docker logs nginx