mirror of
https://github.com/crabwise-ai/crabwalk.git
synced 2026-08-14 00:57:52 +00:00
support ALLOWED_HOSTS env var, fix Dockerfile missing source files (#12)
- parse ALLOWED_HOSTS into vite server.allowedHosts for LAN/tailscale access - copy src/, public/, vite.config.ts, tsconfig.json into Docker runtime stage (dev server needs these, only dist/ was copied before) - pass ALLOWED_HOSTS through docker-compose Ref #10
This commit is contained in:
@@ -3,3 +3,7 @@
|
||||
|
||||
# Clawdbot gateway auth token
|
||||
CLAWDBOT_API_TOKEN=
|
||||
|
||||
# Comma-separated list of allowed hosts for the dev server
|
||||
# Example: ALLOWED_HOSTS=myhost.local,192.168.1.100,.mydomain.com
|
||||
ALLOWED_HOSTS=
|
||||
|
||||
Reference in New Issue
Block a user