level 5 track 1
This commit is contained in:
+6
-4
@@ -38,8 +38,8 @@ services:
|
||||
deploy:
|
||||
resources:
|
||||
limits:
|
||||
cpus: "1.0"
|
||||
memory: 512M
|
||||
cpus: "${POSTGRES_CPUS:-1.0}"
|
||||
memory: "${POSTGRES_MEMORY:-512M}"
|
||||
reservations:
|
||||
cpus: "0.25"
|
||||
memory: 256M
|
||||
@@ -77,8 +77,8 @@ services:
|
||||
replicas: ${API_REPLICAS:-2}
|
||||
resources:
|
||||
limits:
|
||||
cpus: "1.0"
|
||||
memory: 256M
|
||||
cpus: "${API_CPUS:-1.0}"
|
||||
memory: "${API_MEMORY:-256M}"
|
||||
reservations:
|
||||
cpus: "0.25"
|
||||
memory: 128M
|
||||
@@ -90,6 +90,8 @@ services:
|
||||
IDEMPOTENCY_TTL_SECONDS: ${IDEMPOTENCY_TTL_SECONDS:-86400}
|
||||
DRAIN_SECONDS: ${DRAIN_SECONDS:-4}
|
||||
SHUTDOWN_TIMEOUT_SECONDS: ${SHUTDOWN_TIMEOUT_SECONDS:-3}
|
||||
DB_POOL_MIN: ${DB_POOL_MIN:-1}
|
||||
DB_POOL_MAX: ${DB_POOL_MAX:-10}
|
||||
secrets:
|
||||
- source: postgres_password
|
||||
uid: "10001"
|
||||
|
||||
Reference in New Issue
Block a user