Our great sponsors
-
InfluxDB
Power Real-Time Data Analytics at Scale. Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.
To answer your question: My usual process is to set up a CICD pipeline (e.g., on a GitLab instance) which performs basic tests, linting, building and also deploying. What I usually do is use a Docker registry where your new images are pushed (you can build and push the images in a build step on Gitlab). Then, on the server side I have a docker compose setup which regularly checks for the images and deploys them when it finds one. Use will need an extra service to do that. I like to use watchtower for that: https://containrrr.dev/watchtower/ It is basically a docker container which can manage your docker engine.