From f424d34f4fdb38e172a35d1eff195faf869d3b6c Mon Sep 17 00:00:00 2001 From: Elvio Petillo Date: Sun, 23 Nov 2025 20:18:23 +0100 Subject: [PATCH] chore: Add new for-web docker image Signed-off-by: Elvio Petillo --- Caddyfile | 2 +- compose.yml | 33 +++++++++++++++++++++++++++++++-- 2 files changed, 32 insertions(+), 3 deletions(-) diff --git a/Caddyfile b/Caddyfile index b14a88d..a42e684 100644 --- a/Caddyfile +++ b/Caddyfile @@ -34,5 +34,5 @@ } } - reverse_proxy http://web:5000 + reverse_proxy http://web:8080 } diff --git a/compose.yml b/compose.yml index e3ab836..0fb797a 100644 --- a/compose.yml +++ b/compose.yml @@ -103,9 +103,38 @@ services: # Web App web: - image: ghcr.io/revoltchat/client:master - restart: always + #image: ghcr.io/stoatchat/client:main + image: ghcr.io/flash1232/client:pr-2 + ports: + - "8080:8080" env_file: .env.web + environment: + NODE_ENV: production + DOCKER_ENV: "true" + depends_on: + api: + condition: service_started + develop: + watch: + - action: sync+exec + path: ./conf/nginx.conf + target: /etc/nginx/conf.d/default.conf + exec: + command: nginx -s reload + deploy: + resources: + limits: + memory: "${PROD_MEMORY_LIMIT:-2G}" + cpus: "${PROD_CPU_LIMIT:-1.0}" + reservations: + memory: "${PROD_MEMORY_RESERVATION:-512M}" + cpus: "${PROD_CPU_RESERVATION:-0.25}" + security_opt: + - no-new-privileges:true + read_only: true + tmpfs: + - /tmp + restart: always # File server autumn: