-
Notifications
You must be signed in to change notification settings - Fork 1.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Selfthosted - Docker + Traefik + HTTPS + Single User+Port #13367
Comments
I've been attempting to get a self-hosted setup using a FQDN(w/o a static IP), on and off since summer 2018. Docker single user I've probably fought with each of these configs for at least a couple of days each without ultimate success. There are difficulties everywhere. Little to no dynamic IP support in Kubernetes. Multiple ports for multi-user installs. Keycloak doesn't support https. No user authentication mechanism whatsoever for single-user installs. private-ip mappings try to launch ignoring host settings serving up behind a proxy on single installs. XmlHttpRequest requesting icon images over http (mixed content), broad docker port-ranges. Total mess. I'm learning tons about containers and cloud deployments, but I'm not sure what to try next, or what the best approach to take. Closest I've ever gotten to a working environment is running Che(multi-user) in default_host mode totally unsecured over http, which is no good. One day I'm going to get this thing working properly on my little cloud lab. I'll be checking back periodically until someone finally has a breakthrough getting Che to work properly with the internet. fire-server |
Issues go stale after Mark the issue as fresh with If this issue is safe to close now please do so. Moderators: Add |
Hi, |
@mstavares |
Hi @Mbd06b I'm using eclipse che version 6.14 with docker :( |
Description
i want to start my own IDE behind traefik reverse proxy.
Dashboard ist load, workspace is creating but no access
Request URL: https://EXAMPLE.com14355/api/keycloak/settings Request Method: GET Status Code: 404 Referrer Policy: no-referrer-when-downgrade
2nd Optional: at this time i have no luck to change the path of /dashboard url
"traefik.frontend.rule=Host:EXAMPLE.COM; PathPrefix: /che"
proxyed to EXAMPLE.COM/che/dashboard
but che is always to rewrite to EXAMPLE.COM/dashboard
MyConfig
`version: "3.6"
networks:
internal:
internal: true
external:
name: internal
services:
che:
image: "eclipse/che-server:6.19.0"
container_name: "che"
volumes:
- /var/run/docker.sock:/var/run/docker.sock
- /root/config/che:/data
restart: always
environment:
- CHE_HOST=che.EXAMPLE.COM
- CHE_HOST_PROTOCOL=https
- CHE_SINGLE_PORT=true
- CHE_DOCKER_IP_EXTERNAL=che.EXAMPLE.COM
- CHE_PORT=9000
- CHE_API=http://che.EXAMPLE.COM:14355/api
networks:
- internal
labels:
- "traefik.enable=true"
- "traefik.backend=che"
- "traefik.frontend.rule=Host:che.EXAMPLE.COM"
- "traefik.port=9000"
- "traefik.docker.network=internal"
- "traefik.frontend.headers.SSLRedirect=true"
- "traefik.frontend.headers.STSSeconds=315360000"
- "traefik.frontend.headers.browserXSSFilter=true"
- "traefik.frontend.headers.contentTypeNosniff=true"
- "traefik.frontend.headers.forceSTSHeader=true"
- "traefik.frontend.headers.SSLHost=EXAMPLE.COM"
- "traefik.frontend.headers.STSIncludeSubdomains=true"
- "traefik.frontend.headers.STSPreload=true"
- "traefik.frontend.headers.frameDeny=false`
Has anybody got traefik + che to work and can share with me the conf ?
The text was updated successfully, but these errors were encountered: