Commit Graph

30 Commits

Author SHA1 Message Date
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
Jan-Piet Mens
da9da49bda new 2016-01-25 10:49:01 +01:00