Question

provision Nginx exposing Golang server (1 or many)

Posted December 14, 2018 1.2k views
Nginx Applications Go

Hi,

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.

0 answers
Submit an answer

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