forked from mtusi2026/mtusi2026lab3
two api-replicas with LB-nginx
This commit is contained in:
+2
-2
@@ -4,7 +4,7 @@
|
||||
services:
|
||||
postgres:
|
||||
ports:
|
||||
- "127.0.0.1:${DB_HOST_PORT:-15432}:5432"
|
||||
- "127.0.0.1:${DB_HOST_PORT:?Set DB_HOST_PORT in .env}"
|
||||
redis:
|
||||
ports:
|
||||
- "127.0.0.1:${REDIS_HOST_PORT:-16379}:6379"
|
||||
- "127.0.0.1:${REDIS_HOST_PORT:?Set REDIS_HOST_PORT in .env}"
|
||||
|
||||
Reference in New Issue
Block a user