From 695dad277043f831a7d444aa9ecc222696b990d7 Mon Sep 17 00:00:00 2001 From: wh-leader Date: Mon, 11 May 2026 09:28:41 +0200 Subject: [PATCH] ci: add production docker-compose for Portainer stack Uses registry image instead of build context. CI will push to gitlab.impresion3d.pro/root/davidaragon-portfolio:latest --- docker-compose.prod.yml | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 docker-compose.prod.yml diff --git a/docker-compose.prod.yml b/docker-compose.prod.yml new file mode 100644 index 0000000..87b937d --- /dev/null +++ b/docker-compose.prod.yml @@ -0,0 +1,17 @@ +version: "3.8" + +services: + portfolio: + image: gitlab.impresion3d.pro/root/davidaragon-portfolio:latest + container_name: davidaragon-portfolio + ports: + - "8081:80" + restart: unless-stopped + environment: + - NODE_ENV=production + healthcheck: + test: ["CMD", "wget", "--no-verbose", "--tries=1", "--spider", "http://localhost/"] + interval: 30s + timeout: 3s + retries: 3 + start_period: 5s