ci: add GitLab CI/CD pipeline for Docker deploy

On every push to main: builds both Docker images on the server via
docker compose up --build -d, prunes dangling images, and prints the
running container list. No registry required — shell executor runner
on the deployment server is all that's needed.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
2026-02-28 11:32:18 +01:00
parent 836c8474eb
commit 717b976293
2 changed files with 52 additions and 0 deletions

View File

@@ -1,3 +1,5 @@
name: flight-radar # pins the project name — must match COMPOSE_PROJECT in .gitlab-ci.yml
services:
backend:
build: