4 ms·
First of all: no microsrvices, no Kubernetes. The whole business logic is a two binary (server + cli) monolith in a single container image. For CI GitLab is a
by SergeAx 5y ago
First of all: no microsrvices, no Kubernetes. The whole business logic is a two binary (server + cli) monolith in a single container image.
For CI GitLab is a bliss. Lots of examples and articles around the web. I made a test-build-dockerize-tag pipeline once and now just taking it from one project to another with minimal changes.
For deploy - Docker Compose is enough. Maybe Docker Swarm some time in the future. Gitlab hosts docker images, rollback is a simple change of container version.
For Postgres backups I am using WAL archive + daily snapshots from replica.