фикс из пр
This commit is contained in:
+9
-1
@@ -39,6 +39,8 @@ services:
|
||||
timeout: 3s
|
||||
retries: 10
|
||||
restart: unless-stopped
|
||||
cpus: 1.0
|
||||
mem_limit: 768m
|
||||
|
||||
redis:
|
||||
image: redis:8.2.2
|
||||
@@ -56,6 +58,8 @@ services:
|
||||
timeout: 3s
|
||||
retries: 10
|
||||
restart: unless-stopped
|
||||
cpus: 0.5
|
||||
mem_limit: 256m
|
||||
|
||||
migrate:
|
||||
build:
|
||||
@@ -68,6 +72,8 @@ services:
|
||||
postgres:
|
||||
condition: service_healthy
|
||||
restart: "no"
|
||||
cpus: 1.0
|
||||
mem_limit: 512m
|
||||
|
||||
api-1:
|
||||
<<: *api
|
||||
@@ -97,6 +103,8 @@ services:
|
||||
- api-1
|
||||
- api-2
|
||||
restart: unless-stopped
|
||||
cpus: 0.5
|
||||
mem_limit: 256m
|
||||
|
||||
secrets:
|
||||
postgres_password:
|
||||
@@ -108,4 +116,4 @@ secrets:
|
||||
|
||||
volumes:
|
||||
postgres_data:
|
||||
redis_data:
|
||||
redis_data:
|
||||
|
||||
Reference in New Issue
Block a user