From 020f498c74ff7f8be5071a0353c3b57b9c535ffd Mon Sep 17 00:00:00 2001 From: Alexey Skobkin Date: Thu, 7 Mar 2024 16:15:04 +0300 Subject: [PATCH] webhooksite. Adding host hostname bind. --- webhooksite/.env.dist | 2 +- webhooksite/docker-compose.yml | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) 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