fix: remove resource limits and use host.docker.internal for dashboard
- Remove CPU/memory limits that were causing issues - Switch from docker-socket-proxy to host.docker.internal - Add nas.jimmygan.com:8443 to WEBAUTHN_ORIGINS for proper auth
This commit is contained in:
@@ -28,13 +28,8 @@ services:
|
||||
restart: unless-stopped
|
||||
ports:
|
||||
- "127.0.0.1:4000:4000"
|
||||
deploy:
|
||||
resources:
|
||||
limits:
|
||||
cpus: '2.0'
|
||||
memory: 2G
|
||||
environment:
|
||||
- DOCKER_HOST=tcp://docker-socket-proxy:2375
|
||||
- DOCKER_HOST=tcp://host.docker.internal:2375
|
||||
- GITEA_URL=http://gitea:3000
|
||||
- GITEA_TOKEN=${GITEA_TOKEN}
|
||||
- VOLUME_ROOT=/volume1
|
||||
@@ -54,7 +49,7 @@ services:
|
||||
- TELEGRAM_PROXY=${TELEGRAM_PROXY:-}
|
||||
- CORS_ORIGINS=https://nas.jimmygan.com
|
||||
- WEBAUTHN_RP_ID=jimmygan.com
|
||||
- WEBAUTHN_ORIGINS=https://nas.jimmygan.com,https://auth.jimmygan.com:8443
|
||||
- WEBAUTHN_ORIGINS=https://nas.jimmygan.com,https://nas.jimmygan.com:8443,https://auth.jimmygan.com:8443
|
||||
- LITELLM_HEALTH_API_KEY=${LITELLM_HEALTH_API_KEY:-}
|
||||
- LITELLM_URL=http://litellm:4005
|
||||
- GITEA_DB_PASSWORD=${GITEA_DB_PASSWORD}
|
||||
|
||||
Reference in New Issue
Block a user