From 6d5dcd58b8c060662ee5c804b65029d53881b0f7 Mon Sep 17 00:00:00 2001 From: korridor <26689068+korridor@users.noreply.github.com> Date: Thu, 21 Mar 2024 14:27:56 +0100 Subject: [PATCH] Fixed docker compose config --- .env.example | 1 + docker-compose.yml | 2 ++ 2 files changed, 3 insertions(+) diff --git a/.env.example b/.env.example index 64023886..abf225b1 100644 --- a/.env.example +++ b/.env.example @@ -62,6 +62,7 @@ PUSHER_PORT=443 PUSHER_SCHEME=https PUSHER_APP_CLUSTER=mt1 +VITE_HOST_NAME=vite.solidtime.test VITE_APP_NAME="${APP_NAME}" VITE_PUSHER_APP_KEY="${PUSHER_APP_KEY}" VITE_PUSHER_HOST="${PUSHER_HOST}" diff --git a/docker-compose.yml b/docker-compose.yml index 4f4bd529..b81db4cb 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -13,9 +13,11 @@ services: - "traefik.http.routers.solidtime.entrypoints=web" - "traefik.http.services.solidtime.loadbalancer.server.port=80" - "traefik.http.routers.solidtime.service=solidtime" + - "traefik.http.services.solidtime-https.loadbalancer.server.port=80" - "traefik.http.routers.solidtime-https.rule=Host(`${NGINX_HOST_NAME}`)" - "traefik.http.routers.solidtime-https.entrypoints=websecure" - "traefik.http.routers.solidtime-https.tls=true" + - "traefik.http.routers.solidtime-https.service=solidtime-https" # vite - "traefik.http.services.solidtime-vite.loadbalancer.server.port=5173" # http