Skip to content

Commit

Permalink
Adapta configurações para beneficiar instalação em servidor
Browse files Browse the repository at this point in the history
  • Loading branch information
edersoares committed Jul 8, 2023
1 parent 3b63f8f commit 678c8ea
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .env.example
Original file line number Diff line number Diff line change
Expand Up @@ -20,20 +20,20 @@ LOG_CHANNEL=stack
TELESCOPE_ENABLED=false

DB_CONNECTION=pgsql
DB_HOST=postgres
DB_HOST=localhost
DB_PORT=5432
DB_DATABASE=ieducar
DB_USERNAME=ieducar
DB_PASSWORD=ieducar

BROADCAST_DRIVER=log
CACHE_DRIVER=array
BROADCAST_DRIVER=null
CACHE_DRIVER=redis
CACHE_TTL=604800
QUEUE_CONNECTION=sync
SESSION_DRIVER=file
SESSION_LIFETIME=120

REDIS_HOST=redis
REDIS_HOST=localhost
REDIS_PASSWORD=null
REDIS_PORT=6379

Expand Down
3 changes: 3 additions & 0 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,9 @@ services:
- postgres
- redis
environment:
CACHE_DRIVER: redis
REDIS_HOST: redis
DB_HOST: postgres
PGPASSWORD: ieducar
working_dir: /var/www/ieducar
volumes:
Expand Down

0 comments on commit 678c8ea

Please sign in to comment.