Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ghstahl/e5e7e45f6c9d05ac911cfd9a236ee3bc to your computer and use it in GitHub Desktop.
Save ghstahl/e5e7e45f6c9d05ac911cfd9a236ee3bc to your computer and use it in GitHub Desktop.
webhooks-site-personal-redis-docker-compose.yml
version: '3'
services:
webhook:
image: "webhooksite/webhook.site"
# Enable build for development:
# build:
# dockerfile: Dockerfile
# context: ./
command: php artisan queue:work --daemon --tries=3 --timeout=10
ports:
- "8084:80"
environment:
- APP_ENV=dev
- APP_DEBUG=true
- APP_URL=http://localhost:8084
- APP_LOG=errorlog
- DB_CONNECTION=sqlite
- REDIS_HOST=webhook-redis:6380
- BROADCAST_DRIVER=redis
- CACHE_DRIVER=redis
- QUEUE_DRIVER=redis
- ECHO_HOST_MODE=path
depends_on:
- webhook-redis
webhook-redis:
container_name: "redis-webhooks.site"
image: "redis:alpine"
command: --port 6380
ports:
- "6380:6380"
laravel-echo-server:
image: "mintopia/laravel-echo-server"
environment:
- LARAVEL_ECHO_SERVER_AUTH_HOST=http://webhook
- LARAVEL_ECHO_SERVER_HOST=0.0.0.0
- LARAVEL_ECHO_SERVER_PORT=6001
- ECHO_REDIS_PORT=6380
- ECHO_REDIS_HOSTNAME=webhook-redis
- ECHO_PROTOCOL=http
- ECHO_ALLOW_CORS=true
- ECHO_ALLOW_ORIGIN=*
- ECHO_ALLOW_METHODS=*
- ECHO_ALLOW_HEADERS=*
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment