Webhook.site stack and Redis persistence #85

Merged
skobkin merged 4 commits from feature_83_webhook_site into master 2024-03-07 13:40:37 +00:00
2 changed files with 3 additions and 1 deletions
Showing only changes of commit 020f498c74 - Show all commits

View file

@ -13,7 +13,7 @@ APP_DEBUG=false
APP_URL=http://domain.tld:80 APP_URL=http://domain.tld:80
APP_LOG=errorlog APP_LOG=errorlog
DB_CONNECTION=sqlite DB_CONNECTION=sqlite
REDIS_HOST=127.0.0.1 REDIS_HOST=host.docker.internal
REDIS_PORT=6379 REDIS_PORT=6379
#REDIS_PASSWORD=null #REDIS_PASSWORD=null
BROADCAST_DRIVER=redis BROADCAST_DRIVER=redis

View file

@ -6,6 +6,8 @@ services:
image: "webhooksite/webhook.site" image: "webhooksite/webhook.site"
container_name: webhook-site container_name: webhook-site
command: "php artisan queue:work --daemon --tries=3 --timeout=10" command: "php artisan queue:work --daemon --tries=3 --timeout=10"
extra_hosts:
- 'host.docker.internal:host-gateway'
ports: ports:
- "${WEBUI_BIND_ADDR}:${WEBUI_BIND_PORT}:80" - "${WEBUI_BIND_ADDR}:${WEBUI_BIND_PORT}:80"
env_file: .env env_file: .env