From 59ebcd3244a230a1a5cdcdcaad86c73edd3e16ce Mon Sep 17 00:00:00 2001 From: Christian Mehlmauer <105281+firefart@users.noreply.github.com> Date: Mon, 26 Jan 2026 21:33:00 +0100 Subject: [PATCH 1/3] allow for a registry mirror --- docker-compose.yml | 8 ++++---- template.env | 3 +++ 2 files changed, 7 insertions(+), 4 deletions(-) diff --git a/docker-compose.yml b/docker-compose.yml index b74277d..4299bc1 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -2,7 +2,7 @@ services: # This is capable to relay via gmail, Amazon SES, or generic relays # See: https://gitlab.com/egos-tech/smtp mail: - image: ghcr.io/egos-tech/smtp:1.1.3 + image: ${REGISTRY_MIRROR_URL:-}ghcr.io/egos-tech/smtp:1.1.3 restart: always environment: # For use with Amazon SES relay @@ -79,7 +79,7 @@ services: start_interval: 5s misp-core: - image: ghcr.io/misp/misp-docker/misp-core:${CORE_RUNNING_TAG:-latest} + image: ${REGISTRY_MIRROR_URL:-}ghcr.io/misp/misp-docker/misp-core:${CORE_RUNNING_TAG:-latest} restart: always cap_add: - AUDIT_WRITE @@ -310,7 +310,7 @@ services: - "COMPOSE_PROFILES=${COMPOSE_PROFILES}" misp-modules: - image: ghcr.io/misp/misp-docker/misp-modules:${MODULES_RUNNING_TAG:-latest} + image: ${REGISTRY_MIRROR_URL:-}ghcr.io/misp/misp-docker/misp-modules:${MODULES_RUNNING_TAG:-latest} restart: always build: context: modules/. @@ -336,7 +336,7 @@ services: profiles: - misp-guard restart: always - image: ghcr.io/misp/misp-docker/misp-guard:${GUARD_RUNNING_TAG:-latest} + image: ${REGISTRY_MIRROR_URL:-}ghcr.io/misp/misp-docker/misp-guard:${GUARD_RUNNING_TAG:-latest} build: context: guard/. args: diff --git a/template.env b/template.env index e7a754f..3aa6097 100644 --- a/template.env +++ b/template.env @@ -39,6 +39,9 @@ PYPI_SUPERVISOR_VERSION="==4.2.5" # MODULES_RUNNING_TAG=latest # GUARD_RUNNING_TAG=latest +# optional: use a registry mirror for docker images +# REGISTRY_MIRROR_URL= + # Email/username for user #1, defaults to MISP's default (admin@admin.test) ADMIN_EMAIL= # name of org #1, default to MISP's default (ORGNAME) From 7f538df39b941d5b1fc683e76af0f908d4df98d1 Mon Sep 17 00:00:00 2001 From: Christian Mehlmauer <105281+firefart@users.noreply.github.com> Date: Mon, 26 Jan 2026 22:20:43 +0100 Subject: [PATCH 2/3] Update template.env Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com> --- template.env | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/template.env b/template.env index 3aa6097..1ec0950 100644 --- a/template.env +++ b/template.env @@ -39,7 +39,7 @@ PYPI_SUPERVISOR_VERSION="==4.2.5" # MODULES_RUNNING_TAG=latest # GUARD_RUNNING_TAG=latest -# optional: use a registry mirror for docker images +# optional: use a registry mirror for docker images (include trailing slash, e.g., internal.mirror.com/) # REGISTRY_MIRROR_URL= # Email/username for user #1, defaults to MISP's default (admin@admin.test) From 77ebc12dd45e344c832dada0593667558b2e390e Mon Sep 17 00:00:00 2001 From: firefart <105281+firefart@users.noreply.github.com> Date: Wed, 11 Feb 2026 14:58:25 +0100 Subject: [PATCH 3/3] also add REGISTRY_MIRROR_URL to dockerhub images --- docker-compose.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docker-compose.yml b/docker-compose.yml index 4299bc1..4c82d20 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -18,7 +18,7 @@ services: - "SMARTHOST_ALIASES=${SMARTHOST_ALIASES}" redis: - image: valkey/valkey:7.2 + image: ${REGISTRY_MIRROR_URL:-}valkey/valkey:7.2 restart: always command: | sh -c ' @@ -50,7 +50,7 @@ services: db: # We use MariaDB because it supports ARM and has the expected collations - image: mariadb:10.11 + image: ${REGISTRY_MIRROR_URL:-}mariadb:10.11 restart: always environment: - "MYSQL_USER=${MYSQL_USER:-misp}"