Commit graph

9 commits

Author SHA1 Message Date
Jonathan Adami
757941293f use the node hostname as a config name when available 2020-04-26 21:57:08 +10:00
Jonathan Adami
a386ac668b Turns out I had to create a folder :/ remove the loop script and bugfix 2020-04-26 18:04:58 +10:00
Jonathan Adami
558c542112 See if that's what's breaking it, but for now nginx doesn't start and logs nothing 2020-04-26 17:51:52 +10:00
Jonathan Adami
b395e3894e SWARM multi node multi container compatible
The idea:
 - all nodes generate their config in /etc/nginx/node.conf.d/HOSTNAME.conf
 - a python script can read all configs and merge them into one and reload nginx
 - using entr in Procfile, anytime any of these config change, they are merged immediately
 - the default nginx reload on notify is being removed to prevent from reloading twice
2020-04-26 17:24:22 +10:00
Jacek Jakubik
0e94e1e4bd First load docker-gen, then nginx 2017-02-16 10:47:38 +01:00
Jason Wilder
b325dad98d Remove -only-exposed from Procfile 2016-06-12 14:10:46 -06:00
Sebastiaan van Stijn
3c5843264e Switch to official nginx base-image.
This changes the base-image to the official nginx image,
reducing the virtual size of the image by approx 50%.

Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2014-12-03 10:20:58 +01:00
Andrew Vos
61bb0a62fb Only add source after dependency download
This lets docker cache the ADD instruction, giving us a faster build.
Also, install docker-gen directly to /usr/local/bin.
2014-09-17 20:23:27 +01:00
Jason Wilder
4f3d690cd3 Stream logs to stdout/err
Nginx and docker-gen logs can now be seen via docker logs.
2014-06-03 16:30:05 -06:00