diff --git a/webhooksite/.env.dist b/webhooksite/.env.dist index d46984f..8ba58f8 100644 --- a/webhooksite/.env.dist +++ b/webhooksite/.env.dist @@ -13,7 +13,7 @@ APP_DEBUG=false APP_URL=http://domain.tld:80 APP_LOG=errorlog DB_CONNECTION=sqlite -REDIS_HOST=127.0.0.1 +REDIS_HOST=host.docker.internal REDIS_PORT=6379 #REDIS_PASSWORD=null BROADCAST_DRIVER=redis diff --git a/webhooksite/docker-compose.yml b/webhooksite/docker-compose.yml index 3b13aa8..9a929c1 100644 --- a/webhooksite/docker-compose.yml +++ b/webhooksite/docker-compose.yml @@ -6,6 +6,8 @@ services: image: "webhooksite/webhook.site" container_name: webhook-site command: "php artisan queue:work --daemon --tries=3 --timeout=10" + extra_hosts: + - 'host.docker.internal:host-gateway' ports: - "${WEBUI_BIND_ADDR}:${WEBUI_BIND_PORT}:80" env_file: .env