Giter Club home page Giter Club logo

pagermon-docker's Introduction

Pagermon-Docker

Dockerfile to install Pagermon (server and client) in one go, without the need of installing all kinds of dependencies. It just works :)

The latest version of Pagermon is cloned from their Github when building the image.

Clone the repository

git clone https://github.com/HarmvandenBrink/Pagermon-Docker.git

Changing reader.sh

This script was created to decode FLEX, specifically the P2000 network in the Netherlands (169.65MHz), please change this settings before building the Docker. It can't be changed afterwards, you could however create multiple images for multiple decoders. In a later version I'll make this files configurable (and mounted)

rtl_fm -f 169.65M -M fm -s 22050 -p 0 - |
multimon-ng -a FLEX -t raw /dev/stdin |
node reader.js

Building the Docker

docker build -t pagermondocker .

While building the Docker Image it'll create an unique API key and SessionKey for that specific image.

Running the Docker

Please be aware to run the container with the correct RTL-SDR device attached. The code below should do the trick.

docker run -it -p 3000:3000 --name pagermon --privileged -d --restart always -v /dev/bus/usb:/dev/bus/usb pagermondocker

The interface and configuration

http://IP:3000 Username: admin Password: changeme

MySQL (additional, change password!)

docker run --name mysql-server -p 3306:3306 -e MYSQL_ROOT_PASSWORD=pagermon -e MYSQL_DATABASE=pagermon -e MYSQL_ROOT_HOST=% -d mysql/mysql-server:latest
docker exec -i mysql-server mysql -uroot -ppagermon -e "ALTER USER root IDENTIFIED WITH mysql_native_password BY 'pagermon';"

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.