Giter Site home page Giter Site logo

jessestuart / owntracks-docker Goto Github PK

View Code? Open in Web Editor NEW
4.0 3.0 2.0 22 KB

OwnTracks. Multiarch. ๐Ÿ‘Œ

Home Page: https://hub.docker.com/r/jessestuart/owntracks/

Makefile 11.18% Shell 78.88% Dockerfile 9.93%
owntracks docker homelab multiarch arm64 armv7

owntracks-docker's Introduction

So Simple Theme

Looking for a simple, responsive, theme for your Jekyll powered blog? Well look no further. Here be So Simple Theme, the followup to Minimal Mistakes -- by designer slash illustrator Michael Rose.

Notable features:

  • Compatible with Jekyll 3 and GitHub Pages.
  • Responsive templates. Looks good on mobile, tablet, and desktop devices.
  • Gracefully degrading in older browsers. Compatible with Internet Explorer 9+ and all modern browsers.
  • Minimal embellishments and subtle animations.
  • Optional large feature images for posts and pages.
  • Custom 404 page to get you started.
  • Basic search capabilities
  • Support for Disqus Comments

screenshot of So Simple Theme

See a live version of So Simple hosted on GitHub.


Getting Started

So Simple takes advantage of Sass and data files to make customizing easier and requires Jekyll 3.x.

To learn how to install and use this theme check out the Setup Guide for more information.

Bitdeli Badge

owntracks-docker's People

Contributors

jessestuart avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

Forkers

tribunex tricoos

owntracks-docker's Issues

TLS error when trying to use without TLS

Hey! I am running this on docker on a RPi4. I am trying to use it without TSL but I get the following error repeatedly.

-- --- BEGIN OWNTRACKS LAUNCHER ---,
*** Using owntracks as hostname for server certificate,
2020-10-04 14:44:59,206 CRIT Supervisor running as root (no user in config file),
2020-10-04 14:44:59,210 INFO supervisord started with pid 1,
2020-10-04 14:45:00,216 INFO spawned: 'recorder' with pid 31,
2020-10-04 14:45:00,224 INFO spawned: 'mosquitto' with pid 32,
1601822700: Opening ipv4 listen socket on port 8883.,
1601822700: Opening ipv6 listen socket on port 1883.,
1601822700: Opening ipv4 listen socket on port 1883.,
1601822700: Config loaded from /owntracks/mosquitto/mosquitto.conf.,
1601822700: mosquitto version 1.4.10 (build date Wed, 13 Feb 2019 00:45:38 +0000) starting,
1601822700: Opening ipv6 listen socket on port 8883.,
1601822700: New connection from 127.0.0.1 on port 1883.,
ot-recorder[31]: connecting to MQTT on localhost:1883 as clientID ot-recorder-owntracks-31 without TLS,
1601822700: Socket error on client <unknown>, disconnecting.,
ot-recorder[31]: HTTP listener started on 0.0.0.0:8083,
ot-recorder[31]: version 0.7.9 starting with STORAGEDIR=/owntracks/recorder/store,
ot-recorder[31]: Using storage at /owntracks/recorder/store with precision 7,
ot-recorder[31]: Disconnected. Reason: 0x7 [Connection refused: TLS error],
ot-recorder[31]: MQTT connection: rc=7 [The connection was lost.] (errno=0; Success). Sleeping...,
2020-10-04 14:45:01,293 INFO success: recorder entered RUNNING state, process has stayed up for > than 1 seconds (startsecs),
2020-10-04 14:45:01,294 INFO success: mosquitto entered RUNNING state, process has stayed up for > than 1 seconds (startsecs),
1601822710: New connection from 127.0.0.1 on port 1883.
1601822710: Socket error on client <unknown>, disconnecting.
ot-recorder[31]: Disconnected. Reason: 0x7 [Connection refused: TLS error]
ot-recorder[31]: MQTT connection: rc=7 [The connection was lost.] (errno=0; Success). Sleeping...
1601822720: New connection from 127.0.0.1 on port 1883.
1601822720: Socket error on client <unknown>, disconnecting.
ot-recorder[31]: Disconnected. Reason: 0x7 [Connection refused: TLS error]
ot-recorder[31]: MQTT connection: rc=7 [The connection was lost.] (errno=0; Success). Sleeping...
1601822730: New connection from 127.0.0.1 on port 1883.
1601822730: Socket error on client <unknown>, disconnecting.
ot-recorder[31]: http: POST /pub
ot-recorder[31]: Disconnected. Reason: 0x7 [Connection refused: TLS error]
ot-recorder[31]: MQTT connection: rc=7 [The connection was lost.] (errno=0; Success). Sleeping...

And the last error is being repeated indefinitely.

As we can see in the log owntracks is trying to connect without TLS, but despite that, it gets "Connection refused: TLS error".

I have opened the TCP ports 1883 and 8083.
Some environment parameters that I've set are:
OTR_HOST = localhost (as Owntracks and Mosquito are inside the same container)
OTR_PORT = 1883
OTR_USER = myusername
OTR_PASS = mypassword

What am I missing?

mounts are ignored in docker-compose

I am running owntracks-recorder with docker-compose
created some mounts for local folders on host with the container for config and store. But they are ignored and random volumes are created instead

My docker-compse.yml

version: '3'

services:

  otrecorder:
    container_name: ot-recorder
    image: jessestuart/owntracks
    environment:
      - OTR_PORT=0  # disables MQTT
    volumes:
      - /etc/localtime:/etc/localtime:ro
      - /run/media/ippo/TOSHIBA/owntracks-recorder/config:/config
      - /run/media/ippo/TOSHIBA/owntracks-recorder/store:/store
    ports:
      - 8083:8083
    restart: unless-stopped

The run/media/ippo/TOSHIBA/owntracks-recorder/store folder is empty

docker inspect container_name shows volume under "/var/lib/docker/volumes/ca799ff14564cd2f5850ff4ce8489b61dd87a71ce9220dbd699f85fa9852eef4/_data" which the recorder location data etc are stored

How to install on arm64?

Newbie question:

How do I get this running on arm64, without cross-arch compile?

I have a (swarm) of ODROID-N2 SBC's which are arm64.

My persistent storage is a FreeNAS and shares (over SMB) is properly configured with other containers.
I use Portainer to deploy and manage containers, but in this case I've tried both from my desktop (macOS) and native on the arm64 box, with docker command in the shell.

However, I see there is a ARG target=amd64 on top of the Dockerfile, hence i get "exec format error", probably because amd64 binaries was pulled from amd64/debian.

Building with docker build --platform arm64 --pull -t latest . pulls the same.

How do I specify that I want to build for arm64, on arm64? :-)

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.