|
|
|
|
|
by mikewhy
3690 days ago
|
|
I had various issues with that combo, and also didn't like the repetition of VIRTUAL_HOST and LETSENCRYPT_HOST, so I combined the docker-gen and letsencrypt portion[1]. Still BYO nginx. I also wrote a tool for deploying and managing static servers and application servers during development[2][3], but it's not ready for a Show HN yet. But the idea is ... b3cmd --project foo static-scaffold
b3cmd --project foo static-put public/ /
... and you'll have a docker-compose project accessible at "foo--master.example.com" and a static server at "foo--master--static.example.com", all HTTPS ready.[1]: https://github.com/mikew/docker-gen-letsencrypt [2]: https://github.com/mikew/b3cmd [3]: https://github.com/mikew/b3cmd-server |
|