mirror of
https://gitee.com/ulthon/ulthon_admin.git
synced 2026-07-01 15:32:48 +08:00
chore(docker): 为所有服务添加 host.docker.internal 主机映射
All checks were successful
build-and-deploy / 直传代码并部署到 Host15 (push) Successful in 1m26s
All checks were successful
build-and-deploy / 直传代码并部署到 Host15 (push) Successful in 1m26s
使容器能够通过 host.docker.internal 访问宿主机服务,方便开发环境调试。
This commit is contained in:
@@ -18,3 +18,5 @@ services:
|
||||
# - ./public/storage:/var/www/html/public/storage
|
||||
# - ./public/build:/var/www/html/public/build
|
||||
# - ./storage:/var/www/html/storage
|
||||
extra_hosts:
|
||||
- "host.docker.internal:host-gateway"
|
||||
|
||||
@@ -18,3 +18,5 @@ services:
|
||||
# - ./public/storage:/var/www/html/public/storage
|
||||
# - ./public/build:/var/www/html/public/build
|
||||
# - ./storage:/var/www/html/storage
|
||||
extra_hosts:
|
||||
- "host.docker.internal:host-gateway"
|
||||
|
||||
@@ -18,3 +18,5 @@ services:
|
||||
# - ./public/storage:/var/www/html/public/storage
|
||||
# - ./public/build:/var/www/html/public/build
|
||||
# - ./storage:/var/www/html/storage
|
||||
extra_hosts:
|
||||
- "host.docker.internal:host-gateway"
|
||||
|
||||
Reference in New Issue
Block a user