Redirect to localhost:8088 in Superset running on GitHub Codespaces (Docker)

Hi everyone
I’m running Apache Superset via Docker Compose in GitHub Codespaces.
The UI is accessible at github dev.
The issue:
When I click the “Create Dashboard” (or “Create Chart”) button, Superset redirects me to localhost:8088/ dashboard/new/ instead of staying on the Codespaces domain.
What I’ve already tried:
Setting variables in docker-compose
ENABLE_PROXY_FIX: “true”
CYPRESS_CONFIG_BASE_URL: https://xxxxxx.app.github.dev/
OVERRIDE_BASE_URL = “https://xxxxxx.app.github.dev/

superset:
      image: apache/superset:latest
      container_name: superset
      user: root
      volumes:
          - /superset_config.py:/app/pythonpath/superset_config.py
      environment:
        ENABLE_PROXY_FIX: "true"
        SUPERSET_SECRET_KEY: 'your-secret-key-change-this'
        PYTHONPATH: "/usr/local/lib/python3.10/site-packages:/app/pythonpath"
      ports:
        - "8088:8088"
      networks:
        - greenplum-net
      command: >
        sh -c "
          pip install --no-cache-dir psycopg2-binary &&
          superset fab create-admin --username admin --firstname admin --lastname admin --email admin@example.com --password admin &&
          superset db upgrade &&
          superset init &&
          gunicorn --bind 0.0.0.0:8088 --workers 4 --worker-class gthread --timeout 60 \"superset.app:create_app()\"
        "

superset_config.py

ENABLE_PROXY_FIX = True
OVERRIDE_BASE_URL = "https://github.dev"

Not directly related to Docker, try set the corresponding parameter:

# Set the base URL for Superset
SUPERSET_WEBSERVER_BASEURL = 'https://FQDN/base'

Source: Required to set custom context url for superset · apache/superset · Discussion #29547 · GitHub

I tried both options
must be https://friendly-capybara-7jvxwxv77w7hpj44-8088.app.github.dev/dashboard/new/

endless loading if i try:
SUPERSET_WEBSERVER_DOMAINS = 'https://friendly-capybara-7jvxwxv77w7hpj44-8088.app.github.dev'
OVERRIDE_BASE_URL = 'https://friendly-capybara-7jvxwxv77w7hpj44-8088.app.github.dev'

endless loading if i try:
SUPERSET_WEBSERVER_DOMAINS = 'https://friendly-capybara-7jvxwxv77w7hpj44-8088.app.github.dev'

redirect to http://localhost:8088/dashboard/new/ if i try:
SUPERSET_WEBSERVER_ADDRESS = 'https://friendly-capybara-7jvxwxv77w7hpj44-8088.app.github.dev'
OVERRIDE_BASE_URL = 'https://friendly-capybara-7jvxwxv77w7hpj44-8088.app.github.dev'

redirect to http://localhost:8088/dashboard/new/ if i try:
SUPERSET_WEBSERVER_ADDRESS = 'https://friendly-capybara-7jvxwxv77w7hpj44-8088.app.github.dev'

redirect to http://localhost:8088/dashboard/new/ if i try:
SUPERSET_WEBSERVER_BASEURL = 'https://friendly-capybara-7jvxwxv77w7hpj44-8088.app.github.dev'
OVERRIDE_BASE_URL = 'https://friendly-capybara-7jvxwxv77w7hpj44-8088.app.github.dev'

redirect to http://localhost:8088/dashboard/new/ if i try:
SUPERSET_WEBSERVER_BASEURL = 'https://friendly-capybara-7jvxwxv77w7hpj44-8088.app.github.dev'   ```

redirect to http://localhost:8088/dashboard/new/ if i try

SUPERSET_WEBSERVER_BASEURL = 'https://friendly-capybara-7jvxwxv77w7hpj44-8088.app.github.dev'

I might have quoted a bots hallucinated answer. This does not really seem Docker related, you should ask the experts in an Apache Superset support forum about the application configuration.

In case you (or anyone) miss the post you replied to: It was AI generated possibly preparing for spamming, so I deleted it.