From d9e611ffc05732ccb5b267c1c91de5404272061a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Nikola=20Dere=C5=BEi=C4=87?= Date: Mon, 15 Jan 2024 14:16:59 +0100 Subject: [PATCH] compose-file: public FQDN set as default --- docker-compose-deploy.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docker-compose-deploy.yml b/docker-compose-deploy.yml index cf72cc3..6998b1b 100644 --- a/docker-compose-deploy.yml +++ b/docker-compose-deploy.yml @@ -16,7 +16,7 @@ services: GOOGLE_SECRET: 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 AUTH_SECRET: Gh0jQ35oq6DR8HkLR3heA8EaEDtxYN/xkP6blvukZ0w= # HOSTNAME: rezije.localhost # IP address at which the server will be listening (0.0.0.0 = listen on all addresses) - EXTAUTH_URL: ${HOSTNAME:-http://rezije.localhost:3000) # URL next-auth will use while redirecting user during authentication (if not set - will use HOSTNAME) + EXTAUTH_URL: ${HOSTNAME:-https://rezije.app} # URL next-auth will use while redirecting user during authentication (if not set - will use HOSTNAME) PORT: ${PORT:-3000} deploy: # u slucaju rušenja kontejnera čekamo 5s i dižemo novi kontejner => ako se i on sruši opet ceka 5s i pokusava ponovno (tako 5 puta) @@ -29,7 +29,7 @@ services: - traefik.docker.network=traefik-network # mreže preko koje ide komunikacija sa Traefikom - traefik.http.services.web-app.loadbalancer.server.port=3000 - traefik.http.routers.web-app.entrypoints=http - - traefik.http.routers.web-app.rule=Host(`${FQDN:-rezije.localhost)`) + - traefik.http.routers.web-app.rule=Host(`${FQDN:-rezije.app}`) mongo: image: mongo:4.4.27 environment: