fix(backend) : add .env to docker and longer timeout time

This commit is contained in:
2026-07-07 19:44:30 +07:00 Unverified
parent 6485b245f6
commit 76034fa760
2 changed files with 5 additions and 3 deletions
+2
View File
@@ -6,6 +6,8 @@ services:
- "3000"
deploy:
replicas: 3
env_file:
.env
nginx:
image: nginx:alpine
+3 -3
View File
@@ -38,9 +38,9 @@ http {
resolver 127.0.0.11 valid=10s;
set $upstream http://erika:3000;
# Fail fast and retry on another replica instead of hanging
proxy_connect_timeout 3s;
proxy_read_timeout 10s;
# Timeouts for upstream connections
proxy_connect_timeout 10s;
proxy_read_timeout 30s;
proxy_send_timeout 10s;
proxy_next_upstream error timeout;