Files
umbrel-apps/agent-zero/docker-compose.yml
T
Nathan Fretz 5100f03689 Fix https sign-in for apps with trusted-origin lists
Trust https:// origins in apps with trusted-origin lists

umbrelOS 2.0 serves app ports over HTTPS too, but these apps only trusted
http:// origins, so CSRF or auth origin checks reject sign-ins and form
submissions when the app is opened with https://.
2026-11-12 11:21:53 +10:00

22 lines
700 B
YAML

version: '3.7'
services:
app_proxy:
environment:
APP_HOST: agent-zero_web_1
APP_PORT: 80
web:
image: agent0ai/agent-zero:v2.15@sha256:05d6ab347bd7db4b6bd5a7d902c9965281ff852ff23f29fffcc1c8919e628bd8
restart: on-failure
ulimits:
nofile:
soft: 65535
hard: 65535
extra_hosts:
- "host.docker.internal:host-gateway"
volumes:
- ${APP_DATA_DIR}/data/usr:/a0/usr
environment:
- ALLOWED_ORIGINS=http://${DEVICE_DOMAIN_NAME}:${APP_AGENTZERO_PORT},https://${DEVICE_DOMAIN_NAME}:${APP_AGENTZERO_PORT},http://${DEVICE_HOSTNAME}:${APP_AGENTZERO_PORT},https://${DEVICE_HOSTNAME}:${APP_AGENTZERO_PORT},${APP_AGENTZERO_LOCAL_URLS}