Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 0 additions & 8 deletions .env.testing
Original file line number Diff line number Diff line change
Expand Up @@ -12,31 +12,23 @@ LOG_CHANNEL=stack
LOG_STACK=single
LOG_LEVEL=error

# Base de données PostgreSQL pour les tests
DB_CONNECTION=pgsql
DB_HOST=pgsql
DB_PORT=5432
DB_DATABASE=testing
DB_USERNAME=sail
DB_PASSWORD=password

# Cache et sessions pour les tests
CACHE_DRIVER=array
SESSION_DRIVER=array
QUEUE_CONNECTION=sync

# Mail en mode array pour les tests
MAIL_MAILER=array

# Désactiver les services externes en mode test
TELESCOPE_ENABLED=false
RAY_ENABLED=false
SENTRY_LARAVEL_DSN=
INSPECTOR_ENABLE=false

# Optimisations pour les tests
BCRYPT_ROUNDS=4

# Répertoires pour les tests (éviter les problèmes de permissions)
VIEW_COMPILED_PATH=/tmp/views
LOG_CHANNEL=null
12 changes: 6 additions & 6 deletions docker-compose.prod.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ services:
NODE_VERSION: 22
PHP_VERSION: 8.4
image: laravelcm/php
restart: unless-stopped
restart: always
extra_hosts:
- 'host.docker.internal:host-gateway'
healthcheck:
Expand Down Expand Up @@ -50,7 +50,7 @@ services:
CACHE_STORE: ${CACHE_STORE}
CACHE_PREFIX: ${CACHE_PREFIX}
MEMCACHED_HOST: ${MEMCACHED_HOST}
REDIS_URL: ${REDIS_URL}
REDIS_CLIENT: 'phpredis'
REDIS_HOST: ${REDIS_HOST}
REDIS_PASSWORD: ${REDIS_PASSWORD}
REDIS_PORT: ${REDIS_PORT}
Expand Down Expand Up @@ -142,7 +142,7 @@ services:
- dokploy-network
schedule:
image: laravelcm/php
restart: unless-stopped
restart: always
command: ['artisan', 'schedule:run']
stop_signal: SIGTERM
healthcheck:
Expand Down Expand Up @@ -185,7 +185,7 @@ services:
CACHE_STORE: ${CACHE_STORE}
CACHE_PREFIX: ${CACHE_PREFIX}
MEMCACHED_HOST: ${MEMCACHED_HOST}
REDIS_URL: ${REDIS_URL}
REDIS_CLIENT: 'phpredis'
REDIS_HOST: ${REDIS_HOST}
REDIS_PASSWORD: ${REDIS_PASSWORD}
REDIS_PORT: ${REDIS_PORT}
Expand Down Expand Up @@ -279,7 +279,7 @@ services:
- laravelcm
queue:
image: laravelcm/php
restart: unless-stopped
restart: always
command:
- 'artisan'
- 'queue:listen'
Expand Down Expand Up @@ -329,7 +329,7 @@ services:
CACHE_STORE: ${CACHE_STORE}
CACHE_PREFIX: ${CACHE_PREFIX}
MEMCACHED_HOST: ${MEMCACHED_HOST}
REDIS_URL: ${REDIS_URL}
REDIS_CLIENT: 'phpredis'
REDIS_HOST: ${REDIS_HOST}
REDIS_PASSWORD: ${REDIS_PASSWORD}
REDIS_PORT: ${REDIS_PORT}
Expand Down
Loading