fix: element port

This commit is contained in:
ange 2025-05-03 03:18:48 +00:00
parent 450be7a336
commit bee2e150e1
Signed by: ange
GPG Key ID: 9E0C4157BB7BEB1D
2 changed files with 7 additions and 2 deletions

View File

@ -4,6 +4,8 @@ services:
image: "$IMAGEAPP" image: "$IMAGEAPP"
restart: unless-stopped restart: unless-stopped
ports: ports:
- "8080:80" - "8080:8080"
environment:
- ELEMENT_WEB_PORT=8080
volumes: volumes:
- ./config/config.json:/app/config.json:ro - ./config/config.json:/app/config.json:ro

View File

@ -58,7 +58,10 @@ spec:
image: "$IMAGEAPP" image: "$IMAGEAPP"
ports: ports:
- name: http - name: http
containerPort: 80 containerPort: 8080
env:
- name: ELEMENT_WEB_PORT
value: 8080
volumeMounts: volumeMounts:
- name: config - name: config
mountPath: /app/config.json mountPath: /app/config.json