chore: Add new for-web docker image

Signed-off-by: Elvio Petillo <elvio.petillo@nanowaris.com>
pull/177/head
Elvio Petillo 2 months ago
parent 340484159e
commit f424d34f4f

@ -34,5 +34,5 @@
}
}
reverse_proxy http://web:5000
reverse_proxy http://web:8080
}

@ -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:

Loading…
Cancel
Save