Skip to content

Commit

Permalink
fix: redis config
Browse files Browse the repository at this point in the history
  • Loading branch information
Grafikart committed Nov 1, 2024
1 parent 6ef39cf commit 632b7c0
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 5 deletions.
2 changes: 1 addition & 1 deletion .env
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
REDIS_URL=redis://redis
REDIS_HOST=localhost
REDIS_POOL=grafikart_cache

TYPESENSE_KEY=typesensekey
Expand Down
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ build-docker:
$(dc) build php
$(dc) build messenger

dev: vendor/autoload.php node_modules/time ## Lance le serveur de développement
dev: node_modules/time ## Lance le serveur de développement
$(dc) up

devmac: ## Sur MacOS on ne préfèrera exécuter PHP en local pour les performances
Expand Down
2 changes: 1 addition & 1 deletion config/services.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ services:
class: \Redis
calls:
- connect:
- '%env(REDIS_URL)%'
- '%env(REDIS_HOST)%'

Symfony\Component\HttpFoundation\Session\Storage\Handler\RedisSessionHandler:
arguments:
Expand Down
3 changes: 1 addition & 2 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,7 @@ services:
- db
environment:
PHP_IDE_CONFIG: serverName=grafikart
APP_ENV: dev
REDIS_URL: redis://redis
REDIS_HOST: redis
MAILER_DSN: smtp://mail:1025?encryption=null&auth_mode=null
DATABASE_URL: postgresql://grafikart:grafikart@db:5432/grafikart?serverVersion=12&chartset=utf8
MERCURE_PUBLISH_URL: http://mercure/.well-known/mercure
Expand Down

0 comments on commit 632b7c0

Please sign in to comment.