🔧(settings) separate dimail container from app-dev
separate dimail container from app-dev to avoid setting dimail container everytime we run the test suite.
This commit is contained in:
committed by
Marie
parent
f498e3b6d2
commit
8ab1b2e2ef
3
Makefile
3
Makefile
@@ -108,6 +108,7 @@ bootstrap: \
|
|||||||
# -- Docker/compose
|
# -- Docker/compose
|
||||||
build: ## build the app-dev container
|
build: ## build the app-dev container
|
||||||
@$(COMPOSE) build app-dev
|
@$(COMPOSE) build app-dev
|
||||||
|
@$(COMPOSE) build dimail
|
||||||
.PHONY: build
|
.PHONY: build
|
||||||
|
|
||||||
down: ## stop and remove containers, networks, images, and volumes
|
down: ## stop and remove containers, networks, images, and volumes
|
||||||
@@ -123,7 +124,7 @@ run: ## start the wsgi (production) and servers with production Docker images
|
|||||||
.PHONY: run
|
.PHONY: run
|
||||||
|
|
||||||
run-dev: ## start the servers in development mode (watch) Docker images
|
run-dev: ## start the servers in development mode (watch) Docker images
|
||||||
@$(COMPOSE) up --force-recreate --detach app-dev frontend-dev celery-dev celery-beat-dev nginx maildev
|
@$(COMPOSE) up --force-recreate --detach app-dev dimail frontend-dev celery-dev celery-beat-dev nginx maildev
|
||||||
.PHONY: run-dev
|
.PHONY: run-dev
|
||||||
|
|
||||||
status: ## an alias for "docker compose ps"
|
status: ## an alias for "docker compose ps"
|
||||||
|
|||||||
@@ -46,8 +46,6 @@ services:
|
|||||||
postgresql:
|
postgresql:
|
||||||
condition: service_healthy
|
condition: service_healthy
|
||||||
restart: true
|
restart: true
|
||||||
dimail:
|
|
||||||
condition: service_started
|
|
||||||
maildev:
|
maildev:
|
||||||
condition: service_started
|
condition: service_started
|
||||||
redis:
|
redis:
|
||||||
|
|||||||
Reference in New Issue
Block a user