Skip to content

[BUG] NEXT_PUBLIC_FASTAPI_BACKEND_URL not working for all-in-one-container #641

@LaurensBosscher

Description

@LaurensBosscher

Bug Description

See deployment here: https://github.com/LaurensBosscher/homelab/blob/main/apps/surfsense/surfsense-deployment.yml

Deployment Type

  • SurfSense Cloud (hosted version)
  • Self-hosted version

Steps to Reproduce

  1. Deploy all-in-one container image from quickstart
  2. Make sure that NEXT_PUBLIC_FASTAPI_BACKEND_URL is configured
  3. Open Surfsense in browser and try to login
  4. See that backend url is hardcoded to localhost;8000
Image

Expected Behavior

I would expect that NEXT_PUBLIC_FASTAPI_BACKEND_URL is used to determine the backend

Actual Behavior

NEXT_PUBLIC_FASTAPI_BACKEND_URL is always set to localhost:8000

Screenshots/Videos

Image

Environment Information

  • Browser: Brave
  • Operating System: Windows 11
  • SurfSense Version: v1.0.86

Additional Context

See deployment here: https://github.com/LaurensBosscher/homelab/blob/main/apps/surfsense/surfsense-deployment.yml

Checklist

  • I have searched existing issues to ensure this is not a duplicate
  • I have provided all the required information above
  • I have added appropriate labels (bug, deployment type)

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions