Commit Graph

51 Commits

Author SHA1 Message Date
Mark Hoek
ae2b1f1e9e Comment out OTR_CAPATH
A default `OTR_CAPATH` was set in `recorder.conf`, even if it did not
exist. This went previously unnoticed, because `OTR_CAPATH` was not
honoured until #336.

Resolves #339
2020-03-14 14:25:28 +01:00
Mark Hoek
fa54e6429d Change default recorder version to 0.8.6 2020-03-14 14:22:19 +01:00
JP Mens
26cdb7714f Merge pull request #29 from schoentoon/patch-1
Update entrypoint to allow passing arguments to ot-recorder
2019-03-06 14:48:37 +01:00
Toon Schoenmakers
8b1409608f Update entrypoint to allow passing arguments to ot-recorder 2019-03-06 14:32:58 +01:00
Jan-Piet Mens
78a6c4cb2f remove erroneously configured cert/key file settings
addresses #27
2019-03-06 08:24:17 +01:00
Jan-Piet Mens
5524982627 specify Recorder version at build time 2019-01-21 21:22:50 +01:00
JP Mens
db05dda494 Merge pull request #25 from przemas75/patch-1
Update README.md
2019-01-20 12:30:56 +01:00
przemas75
4e3b711e03 Update README.md
docker-compose config
   ERROR: The Compose file './docker-compose.yml' is invalid because:
   services.otrecorder.environment contains {"OTR_HOST": "mosquitto"}, which is an invalid type, it should be a string
grep OTR docker-compose.yml
      - OTR_HOST: mosquitto
      - OTR_USER: "user"
      - OTR_PASS: "paass"
2019-01-20 12:24:12 +01:00
Jan-Piet Mens
122d57aa10 bump to recorder 0.8.3 2019-01-11 15:25:56 +01:00
Jan-Piet Mens
0630ca475e bump to Recorder 0.8.1 2019-01-10 16:32:29 +01:00
Jan-Piet Mens
49a58c782c improve documentation 2019-01-10 13:10:50 +01:00
Jan-Piet Mens
24375e971e document healthchek
addresses #24
2019-01-09 20:00:12 +01:00
Jan-Piet Mens
032a6ee172 Healthcheck now works
python replaced by (much smaller) jq
	closes #24
2019-01-09 19:55:32 +01:00
Jan-Piet Mens
e59dd7f0dc re-instate HEALTHCHECK
closes #24
2019-01-09 18:51:27 +01:00
Jan-Piet Mens
a2d6847661 remove -lssl and bump to 1.1
closes #23
2019-01-09 18:34:07 +01:00
Jan-Piet Mens
b9b5bf782a replace build badge 2019-01-09 17:25:25 +01:00
Jan-Piet Mens
1f4c151da8 try w/o openssl-dev (travis) 2019-01-09 17:22:20 +01:00
Jan-Piet Mens
1c2624fd87 trigger build 2019-01-09 17:18:21 +01:00
Jan-Piet Mens
92e48011f1 remove obsoleted mosquitto.conf 2019-01-09 17:10:07 +01:00
Jan-Piet Mens
08f2ebc247 tweaks 2019-01-09 12:18:03 +01:00
Jan-Piet Mens
49076d3135 Merge branch 'deisi-master' 2019-01-09 11:53:51 +01:00
Jan-Piet Mens
6ac7e2974a add dependency for openssl 2019-01-09 11:53:01 +01:00
Malte Deiseroth
8b63ac0296 New Dockerfile for Recorder
The problem with the current solution is that it provide a monolytic
multiprogramm docker container. However the idiom of docker is to
have one service per docker container. If multiple services are
needed multiple docker container should be used. Docker-compose
makes this easily possible.

Another isse is that the container automatically creates certificates
and sets up encryption using a script. Also this violates docker
idioms, because certificate handling can be done using specific
containers like letsencrypt. It further makes it hard to include this
image into an existing and possible complex infastructure.

A further goal of mine would be to generate a Hassio addon for the
homeassistant project from this. The current dockerfile makes this
kind of hard.

What I did:
- Slimmed down the container to about 10MB by using alpine as a base
- Added a `docker-compose.yml` file that shows how to build and run
  the container
- Added a `docker-compose-mqtt.yml` file to show how a mqtt broker
  can be added. This shows how a plug and play solution using
  docker could look like.
- Changed the docker image label to owntracks/recorder
- Added documentation on how to use and configure the image
- Simple travis file for possible automatic building in the near
  future
- Removed automatic certificate handling
  Instead provide `config` volume to allow configuration.
- Removed arm32v7 build
  should be readded later but I dont have a setup for testing right
  now

What might be added at some point:
- Example with nginx reverse proxy
- Example with letsencrypt certificate
  This could also be an example for a complete plug and play
  solution. Proxy, SSl, MQTT and Recorder.
- Default resolv.conf file with all default options and documentation
- Upload to docker hub
- Change name to owntracks/recorder
- Some more examples for eclipse mosquitto
2019-01-08 16:55:16 +01:00
Giovanni Angoli
361bb00f08 Stretch base image, Debian provided Mosquitto package (#17)
* Debian Stretch base image, debian provided mosquitto and new arm32v7 base image

* left jessie as base image in Dockerfile, fixed.

* added gnupg install to arm32v7 Dockerfile

* arm32v7: libsodium18

* fixed Dockerfiles formatting (tabs)
2018-04-13 17:28:33 +02:00
Jan-Piet Mens
6627c96edf Mention
closes https://github.com/owntracks/recorder/issues/192
2017-05-17 15:49:31 +02:00
Giovanni Angoli
239aa7e0ff in volume ot-recorder default file (#12)
* rollback upstream PR #9

* testing ot-recorder.defaults in volume

Signed-off-by: Giovanni Angoli <juzam76@gmail.com>

* moved topics configuration from supervisord.conf to ot-recorder.default so it can be overridden
2016-12-28 17:18:42 +01:00
Giovanni Angoli
c961e8bcee rollback upstream PR #9 (#11) 2016-11-26 18:00:27 +01:00
JP Mens
26345f68e3 Merge pull request #9 from suhlig/google-api-key
Expose browser-apikey via environment variable
2016-11-20 10:14:37 +01:00
Steffen Uhlig
ff59dd5f77 Expose browser-apikey via environment variable
Add `--browser-apikey` to `supervisord.conf`, reading its value from the `OTR_BROWSERAPIKEY` environment variable.
2016-11-19 23:11:13 +01:00
Giovanni Angoli
6eeef51e4b added @juzam to the Dockerfiles maintainers 2016-10-30 14:28:07 +01:00
Giovanni Angoli
7e2a44b861 fixed mixed tab style (#8) 2016-10-30 14:00:02 +01:00
Giovanni Angoli
868a34cffb Reworked Dockerfiles for smaller Images, Healthcheck added (#6) 2016-10-30 13:40:14 +01:00
Giovanni Angoli
f7600781ee Merge pull request #5 from przemas75/master
Adding Mosquitto repo
2016-10-30 13:29:41 +01:00
root
6d6beaa8f2 Adding Mosquitto repo 2016-10-26 19:51:37 +02:00
JP Mens
b31aa42338 Merge pull request #3 from juzam/debian
Docker base image switched to Debian + arhmf Dockerfile
2016-10-02 16:00:22 +02:00
Giovanni Angoli
62b5451638 armhf Dockerfile added 2016-09-27 09:06:22 +02:00
Giovanni Angoli
9186586740 Dockerfile based on debian/jessie Image, minor edit to launcher.sh 2016-09-26 10:03:37 +02:00
Jan-Piet Mens
2ffe7caca4 sodium18 2016-09-23 13:34:19 +02:00
Jan-Piet Mens
a6bd66625c try 2016-09-23 13:28:44 +02:00
Jan-Piet Mens
f4b1055a38 try 2016-09-23 13:20:02 +02:00
Jan-Piet Mens
585a7e48a1 try universe 2016-09-23 13:14:22 +02:00
Jan-Piet Mens
4807104f3e forgot to chain command 2016-09-23 13:05:42 +02:00
Jan-Piet Mens
2e959aff62 libsodium repo 2016-09-23 13:01:25 +02:00
Jan-Piet Mens
d0f5660a5f add ppa for libsodium 2016-09-23 12:57:48 +02:00
Jan-Piet Mens
388c406d39 apt update 2016-05-30 15:25:53 +02:00
Jan-Piet Mens
4497ced35d adjust paths to binaries 2016-05-30 13:55:50 +02:00
Jan-Piet Mens
0cf4350004 new Dockerfile based on our Debian packages 2016-02-09 12:38:34 +01:00
Jan-Piet Mens
90cc752df5 doc 2016-01-25 11:22:28 +01:00
Jan-Piet Mens
b094120e66 link 2016-01-25 11:19:25 +01:00
Jan-Piet Mens
d50890d97d doc 2016-01-25 11:17:52 +01:00