provision Nginx exposing Golang server (1 or many)


as a fullstack dev I am looking for the easiest way to deploy a webapp (bin) that would be exposed to the public internet, either via Nginx proxy to dispatch traffic to multiple webapps, or with docker. Looking for something automated via user data (get bin from a repo, install Nginx or docke and, run the services)

seems like CoreOS is an appropriate solution considering it is a container oriented OS, how would a cloud-config file look like to fetch compiled Golang web apps (from google drive or any other repo), declare it as new services, and run/manage (docker compose+nginx?) them in the background, restarting in case of a crash.

Submit an answer

This textbox defaults to using Markdown to format your answer.

You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

Sign In or Sign Up to Answer