From 9747f1673bb10551ab58c6207a13cc2da97c568e Mon Sep 17 00:00:00 2001
From: jurgenhaas <juergen@paragon-es.de>
Date: Tue, 24 May 2022 07:35:22 +0200
Subject: [PATCH] Move to a different port so avoid port conflicts with gitlab

---
 templates/docker-compose.yml | 4 ++--
 templates/vhost.conf         | 8 ++++----
 2 files changed, 6 insertions(+), 6 deletions(-)

diff --git a/templates/docker-compose.yml b/templates/docker-compose.yml
index e9e04f4..c05c1b1 100644
--- a/templates/docker-compose.yml
+++ b/templates/docker-compose.yml
@@ -4,7 +4,7 @@ services:
     build:
       context: webui
     ports:
-      - "8092:80"
+      - "8022:80"
     depends_on:
       - api
     networks:
@@ -16,7 +16,7 @@ services:
     build:
       context: api
     ports:
-      - "8091:8080"
+      - "8021:8080"
     depends_on:
       - db
     volumes:
diff --git a/templates/vhost.conf b/templates/vhost.conf
index 18089eb..1932dbb 100644
--- a/templates/vhost.conf
+++ b/templates/vhost.conf
@@ -38,11 +38,11 @@
   ProxyPreserveHost On
   ProxyRequests Off
 
-  ProxyPass /web http://127.0.0.1:8092/
-  ProxyPassReverse /web http://127.0.0.1:8092/
+  ProxyPass /web http://127.0.0.1:8022/
+  ProxyPassReverse /web http://127.0.0.1:8022/
 
-  ProxyPass /api http://127.0.0.1:8091/api
-  ProxyPassReverse /api http://127.0.0.1:8091/api
+  ProxyPass /api http://127.0.0.1:8021/api
+  ProxyPassReverse /api http://127.0.0.1:8021/api
 
   ErrorLog ${APACHE_LOG_DIR}/{{ alerta_domain }}-error.log
   LogLevel warn
-- 
GitLab