Skip to content
This repository was archived by the owner on Sep 11, 2021. It is now read-only.
Minh Truong edited this page Apr 27, 2021 · 1 revision

To use this container on orchestrated environment (example Docker Swarm or Kubernetes) it's recommend use Redis for caching and session storage. Then you can deploy multiple Laravel instances same time.

Local development

On local development, add redis to docker-compose.yml

redis:
  image: redis

And then configure environment variables

REDIS_HOST=redis

SESSION_DRIVER=redis
CACHE_DRIVER=redis
Clone this wiki locally