Join 1M+ other developers and:
- Get help and share knowledge in Q&A
- Subscribe to topics of interest
- Get courses & tools that help you grow as a developer or small business owner
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.