forked from webhooksite/webhook.site
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathcompose.yml
More file actions
50 lines (48 loc) · 1.23 KB
/
compose.yml
File metadata and controls
50 lines (48 loc) · 1.23 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
services:
webhook:
container_name: "webhook-site"
# 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=redis
- BROADCAST_DRIVER=redis
- CACHE_DRIVER=redis
- QUEUE_DRIVER=redis
- ECHO_HOST_MODE=path
depends_on:
- redis
redis:
container_name: "webhook-redis"
image: "redis:alpine"
ports:
- "6379:6379"
laravel-echo-server:
container_name: "laravel-echo-server"
image: "webhooksite/laravel-echo-server"
command:
- exec
- laravel-echo-server
- start
- --force
environment:
- LARAVEL_ECHO_SERVER_AUTH_HOST=http://webhook
- LARAVEL_ECHO_SERVER_HOST=0.0.0.0
- LARAVEL_ECHO_SERVER_PORT=6001
- ECHO_REDIS_PORT=6379
- ECHO_REDIS_HOSTNAME=redis
- ECHO_PROTOCOL=http
- ECHO_ALLOW_CORS=true
- ECHO_ALLOW_ORIGIN=*
- ECHO_ALLOW_METHODS=*
- ECHO_ALLOW_HEADERS=*