02 Galerie publique

Presets curatés

Des configurations éprouvées pour les besoins courants. Importez-les (chiffrés) dans votre vault ou utilisez-les comme base.

docker-compose 01 · Bases de données

PostgreSQL 16 + pgAdmin

Environnement de dev : Postgres + pgAdmin + volumes persistants.

postgres pgadmin dev
jenkins 02 · CI

Jenkinsfile déclaratif + Docker

Pipeline déclaratif : checkout, test, build image, push registre.

jenkins declarative docker
other @DankDown

Harness CI/CD pipeline

Pipeline CI/CD pour harness

harness CI/CD pipeline
github-actions 04 · Docker

Build & push Docker vers GHCR

Build multi-arch avec Buildx et publication dans GitHub Container Registry.

docker ghcr buildx multiarch
gitlab-ci 05 · Docker

Docker build & push (Kaniko)

Build d'une image avec Kaniko (sans daemon Docker) et push vers le registry GitLab.

docker kaniko registry
dockerfile 06 · Frontend

Nginx pour SPA (React/Vue/Svelte)

Build frontend avec Node puis sert les assets statiques via Nginx.

nginx spa react vue frontend
dockerfile 07 · Go

Go 1.22 → binaire statique (scratch)

Build statique CGO_ENABLED=0 puis image finale 'scratch' ultra-minimale.

go scratch static minimal
gitlab-ci 08 · Infra

Terraform plan + apply

Pipeline Terraform avec plan automatique et apply manuel sur main.

terraform iac infra
docker-compose 09 · Infra

Traefik v3 reverse-proxy + HTTPS auto

Traefik avec résolveur Let's Encrypt, dashboard et redirection HTTP→HTTPS.

traefik https letsencrypt proxy
dockerfile 10 · Java

Java 21 + Spring Boot (JRE slim)

Build Maven puis copie du jar dans une image JRE 21 minimale.

java spring maven jre
k8s 11 · Kubernetes

Deployment + Service + HPA

Déploiement avec probes, resources, service ClusterIP et autoscaler horizontal.

k8s deployment hpa service
k8s 12 · Kubernetes

Ingress NGINX + TLS cert-manager

Ingress exposant un service en HTTPS avec certificat Let's Encrypt via cert-manager.

k8s ingress tls cert-manager
dockerfile 13 · Node.js

Node.js 20 multi-stage (build + runtime)

Build TypeScript/webpack puis copie uniquement dist/ dans une image Alpine minimale.

node typescript multi-stage alpine
gitlab-ci 14 · Node.js

Node.js : build + publication npm

Build, tests Jest et publication sur npm lors des tags.

node npm jest release
makefile 15 · Python

Makefile projet Python

Cibles courantes : install, test, lint, format, run, clean, docker.

make python dev
dockerfile 16 · Python

Python 3.12 + FastAPI (uvicorn)

FastAPI + Uvicorn en image slim, utilisateur non-root.

python fastapi uvicorn api
dockerfile 17 · Python

Python 3.12 + Flask (slim)

Image Flask prête pour prod avec utilisateur non-root, gunicorn et cache des dépendances.

python flask gunicorn prod
gitlab-ci 18 · Python

Python : lint + tests + build + deploy

Pipeline GitLab avec stages lint/test/build Docker/deploy, cache pip et artefacts coverage.

python pytest docker deploy
github-actions 19 · Python

Python CI (matrice de versions)

Matrice Python 3.10/3.11/3.12, cache pip, tests pytest + upload coverage.

python pytest matrix coverage
github-actions 20 · Release

Release automatisée (release-please)

Génère PR de release et publie sur tag via Google release-please.

release semver automation
dockerfile 21 · Rust

Rust → distroless

Build release statique puis image distroless pour un runtime minimal.

rust distroless cargo
docker-compose 22 · Stack web

App + Postgres + Redis

Stack applicative classique : service web, Postgres et Redis avec healthchecks.

postgres redis app fullstack