diff --git a/.deploy-infra/deploy-dev.yaml b/.deploy-infra/deploy-dev.yaml index c2ec820..645b139 100644 --- a/.deploy-infra/deploy-dev.yaml +++ b/.deploy-infra/deploy-dev.yaml @@ -31,6 +31,7 @@ services: image: clickhouse networks: - clickhouse-development + - common-infra-nginx-development volumes: - /sprint-data/clickhouse:/var/lib/clickhouse environment: diff --git a/.deploy-infra/deploy-prod.yaml b/.deploy-infra/deploy-prod.yaml index 887f027..0634921 100755 --- a/.deploy-infra/deploy-prod.yaml +++ b/.deploy-infra/deploy-prod.yaml @@ -67,6 +67,13 @@ services: constraints: [node.labels.stage == production] update_config: parallelism: 1 + resources: + limits: + memory: 1024M + cpus: '1.0' + reservations: + memory: 512M + cpus: '0.50' postgres: image: postgres:14-alpine3.19