Simford.Dong
commited on
Commit
·
3a39604
1
Parent(s):
a3cab57
Fix: revert to token auth to bypass device identity checks and allow URL access
Browse files- Dockerfile +3 -4
Dockerfile
CHANGED
|
@@ -51,12 +51,11 @@ if [ ! -f /root/.openclaw/openclaw.json ]; then\n\
|
|
| 51 |
"port": 7860,\n\
|
| 52 |
"trustedProxies": ["0.0.0.0/0"],\n\
|
| 53 |
"auth": {\n\
|
| 54 |
-
"mode": "
|
| 55 |
-
"
|
| 56 |
},\n\
|
| 57 |
"controlUi": {\n\
|
| 58 |
-
"allowInsecureAuth": true
|
| 59 |
-
"dangerouslyDisableDeviceAuth": true\n\
|
| 60 |
}\n\
|
| 61 |
},\n\
|
| 62 |
"agents": {\n\
|
|
|
|
| 51 |
"port": 7860,\n\
|
| 52 |
"trustedProxies": ["0.0.0.0/0"],\n\
|
| 53 |
"auth": {\n\
|
| 54 |
+
"mode": "token",\n\
|
| 55 |
+
"token": "${SETUP_PASSWORD}"\n\
|
| 56 |
},\n\
|
| 57 |
"controlUi": {\n\
|
| 58 |
+
"allowInsecureAuth": true\n\
|
|
|
|
| 59 |
}\n\
|
| 60 |
},\n\
|
| 61 |
"agents": {\n\
|