diff --git a/templates/docker-compose.yml b/templates/docker-compose.yml
index e9e04f493eba791106e5f5f6ec947cf0964abd19..c05c1b158821d5e4334ae8515368c0b893ecdaa7 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 18089ebce3ce55d16f321684b6eacbfa2ea2ae45..1932dbba526c8dd6b3cf5c23df31e8b22a9b93cc 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