fix: add host gateway mapping for mysql

This commit is contained in:
2026-03-08 19:44:09 +08:00
parent c23c4ac1e3
commit 2e796bb55f

View File

@@ -8,6 +8,8 @@ services:
- "8002:8002"
env_file:
- ./backend/.env
extra_hosts:
- "host.docker.internal:host-gateway"
volumes:
- ./backend/app:/app/app
- /var/www/tuhui_uploads:/app/uploads