From f385daf09cd50584de89247c3e16b6a8d5a0028c Mon Sep 17 00:00:00 2001 From: jochen Date: Thu, 9 Jul 2026 16:26:21 +0200 Subject: [PATCH] fix(deploy): use registry image and correct docker list format - Fix module.yml docker: section from object to list format so the builder actually builds and pushes the image - Replace build: . with registry image reference in compose - Fix certresolver name from letsencrypt to le - Add explicit container_name, remove unused default network --- docker-compose.yml | 6 +++--- module.yml | 3 +-- 2 files changed, 4 insertions(+), 5 deletions(-) diff --git a/docker-compose.yml b/docker-compose.yml index f41bb69..b44bf3b 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -1,6 +1,7 @@ services: txt-game: - build: . + image: registry-api.novox.be/novox/txt-game:latest + container_name: txt-game restart: unless-stopped environment: - DOMAIN=${DOMAIN:-localhost} @@ -8,11 +9,10 @@ services: - "traefik.enable=true" - "traefik.http.routers.txt-game.rule=Host(`txt.${DOMAIN:-localhost}`)" - "traefik.http.routers.txt-game.entrypoints=websecure" - - "traefik.http.routers.txt-game.tls.certresolver=letsencrypt" + - "traefik.http.routers.txt-game.tls.certresolver=le" - "traefik.http.services.txt-game.loadbalancer.server.port=3000" networks: - proxy - - default networks: proxy: diff --git a/module.yml b/module.yml index d10623e..b8731a4 100644 --- a/module.yml +++ b/module.yml @@ -7,10 +7,9 @@ service: container: txt-game docker: - build: + - image: txt-game context: . dockerfile: Dockerfile - image: txt-game env: DOMAIN: