Coder Social home page Coder Social logo

Docker with Traefik about rport-docker HOT 4 OPEN

MatthewReed303 avatar MatthewReed303 commented on July 18, 2024
Docker with Traefik

from rport-docker.

Comments (4)

MatthewReed303 avatar MatthewReed303 commented on July 18, 2024 1

Hi @mahafree I ended up using Nginx Proxy Manager ( I have both running on my system and listening on 80/443 ) The issue with using traefik is you all need tcp and udp proxy in the config, can't just use http and you also need tls v1.3, here are some links and my latest working config.

https://github.com/cloudradar-monitoring/rport/discussions/704
https://github.com/MatthewReed303/rport-docker
https://hub.docker.com/r/mrea303/rport-docker

from rport-docker.

MatthewReed303 avatar MatthewReed303 commented on July 18, 2024

Hi @IOTech17 I have now got mostly everything working using your image. A few issues I have is the container always shows an unhealthy state.

I can't get Guacamole RDP or NoVNC working, the options under the tunnel settings to enable via browser are greyed out ( I have both enabled in the rportd.conf ) maybe there are some other settings I'm missing with using the docker image? Thanks

from rport-docker.

mahafree avatar mahafree commented on July 18, 2024

@MatthewReed303
I am also trying to set up this image with Traefik.
Currently my container is running, but I cannot access the UI. (404 page not found)

Container log:
2022-10-03 08:40:41,758 INFO supervisord started with pid 1
2022-10-03 08:40:42,759 INFO spawned: 'guacamole-daemon' with pid 9
2022-10-03 08:40:42,760 INFO spawned: 'rport' with pid 10
guacd[9]: INFO: Guacamole proxy daemon (guacd) version 1.4.0 started
2022-10-03 08:40:42,768 DEBG 'guacamole-daemon' stderr output:
guacd[9]: INFO: Guacamole proxy daemon (guacd) version 1.4.0 started
guacd[9]: INFO: Listening on host 0.0.0.0, port 4822
2022-10-03 08:40:42,768 DEBG 'guacamole-daemon' stderr output:
guacd[9]: INFO: Listening on host 0.0.0.0, port 4822
2022-10-03 08:40:42,774 DEBG 'rport' stdout output:
2022/10/03 08:40:42 server: data directory path: "/var/lib/rport"
2022-10-03 08:40:42,776 DEBG 'rport' stdout output:
2022/10/03 08:40:42 server: initialized database at /var/lib/rport/monitoring.db
2022-10-03 08:40:42,779 DEBG 'rport' stdout output:
2022/10/03 08:40:42 server: will start server on 0.0.0.0:8080
2022/10/03 08:40:42 client-listener: Listening on 0.0.0.0:8080...
2022-10-03 08:40:42,779 DEBG 'rport' stdout output:
2022/10/03 08:40:42 api-listener: API Listening on 0.0.0.0:3000...
2022-10-03 08:40:42,779 DEBG 'rport' stdout output:
2022/10/03 08:40:42 server: Task to check the clients connection status will run with interval 5m0s
2022/10/03 08:40:42 server: Task to cleanup measurements will run with interval 2m0s
2022/10/03 08:40:42 server: Task to cleanup expired api sessions will run with interval 1h0m0s
2022/10/03 08:40:42 server: Task to cleanup jobs will run with interval 1h0m0s
2022-10-03 08:40:52,791 INFO success: guacamole-daemon entered RUNNING state, process has stayed up for > than 10 seconds (startsecs)
2022-10-03 08:40:52,791 INFO success: rport entered RUNNING state, process has stayed up for > than 10 seconds (startsecs)

this is my docker-compose file.

version: '3.9'
services:
rport-server:
container_name: rport
image: iotech17/rport:latest
cap_add:
- sys_nice
ulimits:
nproc: 65535
nofile:
soft: 262144
hard: 262144
restart: unless-stopped
privileged: true
labels:
- "traefik.enable=true"
- "traefik.http.routers.rport.entrypoints=web, websecure"
- "traefik.http.routers.rport.rule=Host(******.******.**)"
- "traefik.http.routers.rport.tls=true"
- "traefik.http.routers.rport.tls.certresolver=production"
- "traefik.tcp.services.rportService.loadBalancer.server.port=8080"
- "traefik.docker.network=traefik_default"
#ports:
#- 3000:3000
#- 4822:4822
#- 10000:8080
#- 20000-20100:20000-20100
volumes:
- /DataDisk/Docker/Rport/rportd.conf:/etc/rport/rportd.conf:ro
- /DataDisk/Docker/Rport/rport.key:/var/lib/rport/rport.key:ro
- /DataDisk/Docker/Rport/rport.crt:/var/lib/rport/rport.crt:ro
- /DataDisk/Docker/Rport/data:/var/lib/rport/

 How did you get this up and running?
 Thanks in advance!

from rport-docker.

lewisd19 avatar lewisd19 commented on July 18, 2024

@MatthewReed303 are you able to share your compose config for nginx proxy manager with traefik? I have run into the exact same issue with traefik and have old npm container I could put to use with rport.

from rport-docker.

Related Issues (3)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.