10 ms·
Here's my template: Backend in Go, hosted on Gitlab with CI to build it and create a docker image (also hosted at Gitlab). Server is a plain Debian server hos
by ireflect 8y ago
Here's my template:
Backend in Go, hosted on Gitlab with CI to build it and create a docker image (also hosted at Gitlab).
Server is a plain Debian server hosted on Digital Ocean, with some light configuration with Ansible. A single docker-compose.yml brings up the application along with any service dependencies. Generally I use nginx-proxy with its letsencrypt companion so I can multiplex several docker web services and do SSL termination, all from within the docker-compose file.
Frontend in angular, react, or react native.
This is easy, automated, cheap, and not too exotic. I can host multiple things on a single server if I want, but easily splice them off to their own server later.
- westoncb 8y agoThis sounds a lot like what I'm looking for. I haven't looked into Gitlab at all yet, so I'll to check them out.
- Rjevski 8y agoGitLab has been a pain for me lately. Chose them for a client due to built-in CI (as opposed to Github), but the HTTP response time on the web UI makes it painful to use - I'm routinely seeing ~1s response times on pull requests and CI pipelines, not to mention that the provided CI "runners" seem overloaded and your jobs often stay in a pending stage for several minutes (can be solved by running your own instance of gitlab-runner on an AWS box). Personally I'm moving that project to Bitbucket - they now have CI pipelines too.