GithubHelp home page GithubHelp logo

ryanelliottsmith / rport-docker Goto Github PK

View Code? Open in Web Editor NEW

This project forked from iotech17/rport-docker

0.0 0.0 0.0 69 KB

repository to build a docker container for rport

Dockerfile 100.00%

rport-docker's Introduction

rport-docker

repository to build a docker container for rport.

The new version doesn't have guacd inside the container as Apache switched from debian based image to Alpine linux for Guacd. Unfortunately Rport doesn't work on Alpine linux.

You will need to add a config file (preferably as a mounted read-only volume pointing to your local file)

If you want to use a database to store the data please follow this guide : https://oss.rport.io/get-started/api-authentication/

docker-compose

version: '3.9'
services:
  rport-server:
    container_name: rport
    image: iotech17/rport:latest
    restart: always
    privileged: true
    ports:
      - 3000:3000
      - 10000:8080
      - 20000-20100:20000-20100
    volumes:
      - /path/rportd.conf:/etc/rport/rportd.conf:ro
      - /path/rport.key:/var/lib/rport/rport.key:ro
      - /path/rport.crt:/var/lib/rport/rport.crt:ro
      - data:/var/lib/rport/
    
    command: bash -c "/usr/local/bin/rportd --data-dir /var/lib/rport -c /etc/rport/rportd.conf"
      
    healthcheck:
      test: wget --no-check-certificate --spider -S https://localhost:3000 2>&1 > /dev/null | grep -q "200 OK$"
      interval: 60s
      retries: 5
      start_period: 20s
      timeout: 10s

volumes:
  data:

rport-docker's People

Contributors

iotech17 avatar ryanelliottsmith avatar

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.