Skip to content

Commit 23bcbe5

Browse files
committed
feat(#1354398): Add composer packages and adapt docker archi for
import/export feature
1 parent 52a27bd commit 23bcbe5

17 files changed

+567
-63
lines changed

Makefile

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,11 +41,17 @@ build_no_cache: ## Builds the Docker images (without cache)
4141
up: .env ## Start the docker hub in detached mode (no logs)
4242
@$(DOCKER_COMP) up --detach
4343

44+
up-cron: .env ## Start the docker hub in detached mode (no logs) with cron profile
45+
@CRON_UPSTREAM=cron $(DOCKER_COMP) --profile cron up --detach --force-recreate varnish cron
46+
4447
start: build up ## Build and start the containers
4548

4649
down: .env ## Stop the docker hub
4750
@$(DOCKER_COMP) down --remove-orphans
4851

52+
down-cron: .env ## Stop the docker hub with cron profile
53+
@$(DOCKER_COMP) --profile cron down --remove-orphans
54+
4955
logs: ## Show live logs, pass the parameter "s=" to get logs of a given service, example: make logs s=elasticsearch
5056
@$(eval s ?=)
5157
@$(DOCKER_COMP) logs --tail=0 --follow $(s)

api/.env

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -58,3 +58,10 @@ MAILER_DSN=smtp://mailer:1025
5858
GALLY_DEFAULT_SENDER_NAME=Gally
5959
GALLY_DEFAULT_SENDER_EMAIL=noreply@gally.localhost
6060
###< symfony/mailer ###
61+
62+
###> symfony/messenger ###
63+
# Choose one of the transports below
64+
# MESSENGER_TRANSPORT_DSN=amqp://guest:guest@localhost:5672/%2f/messages
65+
# MESSENGER_TRANSPORT_DSN=redis://localhost:6379/messages
66+
MESSENGER_TRANSPORT_DSN=doctrine://default?auto_setup=0
67+
###< symfony/messenger ###

api/composer.json

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,13 +20,15 @@
2020
"stof/doctrine-extensions-bundle": "^1.7",
2121
"symfony/asset": "6.4.*",
2222
"symfony/console": "6.4.*",
23+
"symfony/doctrine-messenger": "^6.4",
2324
"symfony/dotenv": "6.4.*",
2425
"symfony/expression-language": "6.4.*",
2526
"symfony/flex": "^2.2",
2627
"symfony/framework-bundle": "6.4.*",
2728
"symfony/http-client": "6.4.*",
2829
"symfony/intl": "6.4.*",
2930
"symfony/mailer": "6.4.*",
31+
"symfony/messenger": "6.4.*",
3032
"symfony/monolog-bundle": "^3.8",
3133
"symfony/property-access": "6.4.*",
3234
"symfony/property-info": "6.4.*",
@@ -40,6 +42,7 @@
4042
"symfony/validator": "6.4.*",
4143
"symfony/yaml": "6.4.*",
4244
"tilleuls/forgot-password-bundle": "^2.0",
45+
"vich/uploader-bundle": "^2.8",
4346
"webonyx/graphql-php": "^15.12"
4447
},
4548
"require-dev": {

0 commit comments

Comments
 (0)