From bee2e150e1166f2923d12bfedff97aefaba53db8 Mon Sep 17 00:00:00 2001 From: ange Date: Sat, 3 May 2025 03:18:48 +0000 Subject: [PATCH] fix: element port --- compose.yaml | 4 +++- manifests/common/app.yaml | 5 ++++- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/compose.yaml b/compose.yaml index 46a687a..6cfa2cf 100644 --- a/compose.yaml +++ b/compose.yaml @@ -4,6 +4,8 @@ services: image: "$IMAGEAPP" restart: unless-stopped ports: - - "8080:80" + - "8080:8080" + environment: + - ELEMENT_WEB_PORT=8080 volumes: - ./config/config.json:/app/config.json:ro diff --git a/manifests/common/app.yaml b/manifests/common/app.yaml index 041a862..a4c5ce2 100644 --- a/manifests/common/app.yaml +++ b/manifests/common/app.yaml @@ -58,7 +58,10 @@ spec: image: "$IMAGEAPP" ports: - name: http - containerPort: 80 + containerPort: 8080 + env: + - name: ELEMENT_WEB_PORT + value: 8080 volumeMounts: - name: config mountPath: /app/config.json