API & consumers now are executed using docker
This commit is contained in:
2
Makefile
2
Makefile
@@ -41,4 +41,4 @@ infrastructure:
|
||||
|
||||
.PHONY: stop
|
||||
stop:
|
||||
$(DOCKER_COMPOSE) stop
|
||||
$(DOCKER_COMPOSE) --profile async-events --profile async-commands --profile async-projections stop
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user