From 678cba5ab7d65261688c2e22b402c86898f7274e Mon Sep 17 00:00:00 2001 From: theUniC Date: Wed, 9 Mar 2022 19:27:50 +0100 Subject: [PATCH] API & consumers now are executed using docker --- Makefile | 2 +- docker-compose.yaml | 5 ++++- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index f1a0e0a..6a72434 100644 --- a/Makefile +++ b/Makefile @@ -41,4 +41,4 @@ infrastructure: .PHONY: stop stop: - $(DOCKER_COMPOSE) stop \ No newline at end of file + $(DOCKER_COMPOSE) --profile async-events --profile async-commands --profile async-projections stop \ No newline at end of file diff --git a/docker-compose.yaml b/docker-compose.yaml index a99cac1..248db58 100644 --- a/docker-compose.yaml +++ b/docker-compose.yaml @@ -1,4 +1,4 @@ -version: '3.8' +version: '3.9' services: redis: @@ -29,6 +29,7 @@ services: - ./:/var/www/html async-commands-consumer: build: .docker/php-cli + profiles: ["async-commands"] init: true env_file: .env.docker.dist working_dir: /var/www/html @@ -37,6 +38,7 @@ services: - ./:/var/www/html async-events-consumer: build: .docker/php-cli + profiles: ["async-events"] init: true env_file: .env.docker.dist working_dir: /var/www/html @@ -45,6 +47,7 @@ services: - ./:/var/www/html async-projections-consumer: build: .docker/php-cli + profiles: ["async-projections"] init: true env_file: .env.docker.dist working_dir: /var/www/html