GithubHelp home page GithubHelp logo

heflora / autosorted-frost-server Goto Github PK

View Code? Open in Web Editor NEW
0.0 1.0 0.0 18 KB

Contains docker compose file that includes automatic sorting of underlaying FROST DB according to the entries ID

autosorted-frost-server's Introduction

Important to know about external and internal reachability/routing of/to the FROST-server

The attribute "ports" defines the mapping from external to internal port of a docker container (left=external, right = internal: 8080:8080).
Don't change the internal port, only the external port when setting up a new FROST-Server container (i.e. keep 8080 AND 1883 fixed).

Case 1: Default

For the (default) case that FROST-server shall be reachable at the standard server adresse (can be URL or IP) but with generic port adress:

services:

  web:

    image: fraunhoferiosb/frost-server:latest

    environment:

      - serviceRootUrl=http://<IP-adresse/main-server-URL>:<PORT-number>/FROST-Server

      - ...

    ports:

      - 8080:8080

      - 1883:1883

Case 2: URL-Specific

For the case that FROST-server shall be reachable at a specific URL, it must be specified to be reachable inside only from the localhost (127.0.0.1) and from outside only by a reverse proxy (needs to be configured elsewhere at e.g. apache or Tomcat server):

services:

  web:

    image: fraunhoferiosb/frost-server:latest

    environment:

      - serviceRootUrl=https://sensor-server.hef.tum.de/frost

      - ...

    ports:

      - 127.0.0.1:8080:8080

      - 127.0.0.1:1883:1883

autosorted-frost-server's People

Contributors

heflora avatar

Watchers

 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.