mirror of
https://github.com/retspen/webvirtcloud.git
synced 2026-04-25 15:35:57 +03:00
[GH-ISSUE #216] Traefik and docker-compose #142
Labels
No labels
bug
enhancement
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/webvirtcloud#142
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @Cybernemo on GitHub (Jan 15, 2019).
Original GitHub issue: https://github.com/retspen/webvirtcloud/issues/216
Hello,
I am using webvirtcloud with the reverse proxy Traefik and docker-compose.
Here is my docker-compose.yml:
I can login and create instances but noVNC is not working neither is an instance details (error 500).
@catborise commented on GitHub (Jan 16, 2019):
i do not know traefik but you should redirect vnc ports also. VNC ports starts 5900-5999(it depends vm count).
@lord-kyron commented on GitHub (Jan 16, 2019):
@Cybernemo - if you want to use the VNC and for reverse proxy you are using NGINX, I can give you my config which I am using and it is working.
There are several files, which needs to be edited additionally, but there not so hard to edit.
@Cybernemo commented on GitHub (Jan 18, 2019):
@Bandic007 that would be great!
@lord-kyron commented on GitHub (Jan 18, 2019):
@Cybernemo - here is the repo - it includes the latest changes from @catborise + reverse proxy nginx support:
https://github.com/Bandic007/webvirtcloud-plus.git
Inside settings.py file there just severl lines that you have to modify according to your needs:
WS_PUBLIC_HOST
WS_PUBLIC_PORT
WS_CERT
Here is the nginx config for the reverse proxy:
`server {
listen 443;
}
upstream wsnovncd {
server 127.0.0.1:6080;
}`
However, keep in mind, that I am not using the docker_compose.yaml file, so maybe some changes needed to be done there, but when you see my changes, you will be able to figure it out. :)