From 6db843301287810215934e019b8c563780f6ad10 Mon Sep 17 00:00:00 2001 From: Daniil Manukian Date: Thu, 30 Apr 2026 22:29:35 +0000 Subject: [PATCH] =?UTF-8?q?=D0=9E=D0=B1=D0=BD=D0=BE=D0=B2=D0=B8=D1=82?= =?UTF-8?q?=D1=8C=20docker-compose.yml?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- docker-compose.yml | 39 +-------------------------------------- 1 file changed, 1 insertion(+), 38 deletions(-) diff --git a/docker-compose.yml b/docker-compose.yml index dbc7ac4..9d3caf0 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -1,37 +1,4 @@ services: - postgres: - image: postgres:16-alpine - environment: - POSTGRES_USER: postgres_user - POSTGRES_PASSWORD: postgres_password - POSTGRES_DB: app - ports: - - "5432:5432" - volumes: - - pg_data:/var/lib/postgresql/data - healthcheck: - test: ["CMD-SHELL", "pg_isready -U postgres_user -d app"] - interval: 5s - timeout: 5s - retries: 10 - - rabbitmq: - image: rabbitmq:3-management-alpine - environment: - RABBITMQ_DEFAULT_USER: rabbit - RABBITMQ_DEFAULT_PASS: rabbit - RABBITMQ_DEFAULT_VHOST: / - ports: - - "5672:5672" - - "15672:15672" - volumes: - - rabbit_data:/var/lib/rabbitmq - healthcheck: - test: ["CMD", "rabbitmq-diagnostics", "-q", "ping"] - interval: 10s - timeout: 5s - retries: 10 - app: build: context: . @@ -45,8 +12,4 @@ services: condition: service_healthy rabbitmq: condition: service_healthy - restart: unless-stopped - -volumes: - pg_data: - rabbit_data: + restart: unless-stopped \ No newline at end of file