Skip to content

Commit 01bcde4

Browse files
committed
fix(build): resolve service dependency issue with profiles
1 parent 43d0ab5 commit 01bcde4

2 files changed

Lines changed: 1 addition & 4 deletions

File tree

compose.yml

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -20,9 +20,6 @@ services:
2020
restart: on-failure
2121
ports:
2222
- "9600:9501"
23-
depends_on:
24-
- postgres
25-
- mongo
2623

2724
postgres:
2825
container_name: serendipity-postgres

makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ watch: ## Start the project in watch mode
3535
##@ Composer
3636

3737
install: ## Composer install dependencies
38-
@$(COMPOSE_RUNNER) run --rm --entrypoint composer app install
38+
@$(COMPOSE_RUNNER) --profile mongo --profile postgres run --rm --entrypoint composer app install
3939

4040
dump: ## Run the composer dump
4141
@$(COMPOSE_RUNNER) run --rm --entrypoint composer app dump-autoload

0 commit comments

Comments
 (0)