Skip to content

Commit a3bd266

Browse files
committed
feat(#1354398): Add composer packages and adapt docker archi for
import/export feature
1 parent 3c35b57 commit a3bd266

File tree

15 files changed

+550
-59
lines changed

15 files changed

+550
-59
lines changed

Makefile

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,9 @@ 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 container
45+
@$(DOCKER_COMP) --profile cron up --detach
46+
4447
start: build up ## Build and start the containers
4548

4649
down: .env ## Stop the docker hub
@@ -173,7 +176,7 @@ migrate: c=doctrine:migrations:migrate -n --allow-no-migration
173176
migrate: sf
174177

175178
generate_migration: ## Generate symfony migration
176-
generate_migration: c=doctrine:migrations:diff --namespace 'DoctrineMigrations'
179+
generate_migration: c=doctrine:migrations:diff --namespace 'Gally\Migrations'
177180
generate_migration: sf
178181

179182
fixtures_load: ## Load fixtures (Delete DB and Elasticsearch data)

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)