From e7ef614fed1fd0342d95dd02c9223666cf987e61 Mon Sep 17 00:00:00 2001 From: Diego Lagos <92735530+diegolagospagopa@users.noreply.github.com> Date: Mon, 6 Nov 2023 12:41:45 +0100 Subject: [PATCH] feat: Force recreate image with new name repo (#3) updated config files --- Dockerfile | 2 +- {core-dns => coredns}/Corefile | 0 docker-compose.yml | 9 +++++---- 3 files changed, 6 insertions(+), 5 deletions(-) rename {core-dns => coredns}/Corefile (100%) diff --git a/Dockerfile b/Dockerfile index e2bb6ef..f995f14 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,6 +1,6 @@ FROM coredns/coredns:1.11.1@sha256:2169b3b96af988cf69d7dd69efbcc59433eb027320eb185c6110e0850b997870 -COPY ./core-dns/Corefile /app/conf/Corefile +COPY ./coredns/Corefile /app/conf/Corefile EXPOSE 53 53/udp diff --git a/core-dns/Corefile b/coredns/Corefile similarity index 100% rename from core-dns/Corefile rename to coredns/Corefile diff --git a/docker-compose.yml b/docker-compose.yml index 81ce032..30ba4d6 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -1,12 +1,13 @@ version: "3.8" services: - azure-core-dns: + azure-coredns-forwarder: # image: ghcr.io/pagopa/azure-core-dns:beta-setup-azure-core-dns - image: azurecoredns:latest + image: azurecorednsforwarder:latest # build: # dockerfile: ./Dockerfile # context: . - container_name: azure-core-dns + container_name: azure-coredns-forwarder # restart: always ports: - - "53:53" + - "53:53/tcp" + - "53:53/udp"