Commit Graph

33 Commits

Author SHA1 Message Date
Steffen Vogel
8e3b734a1d use multi-stage Docker builds 2022-05-14 10:15:41 +02:00
Jan-Piet Mens
81c53de2a3 bump to 0.8.8 2022-03-14 09:27:18 +01:00
Jan-Piet Mens
4a6ea6403d use alpine 3:13
https://gitlab.alpinelinux.org/alpine/aports/-/issues/12396
2021-06-29 21:16:03 +02:00
Jan-Piet Mens
e8ca450337 0.8.7 2021-06-29 17:31:05 +02:00
Jan-Piet Mens
a8a62c2bff add JSON.lua
addresses https://github.com/owntracks/recorder/issues/340
2020-04-02 08:05:12 +02:00
Marco Paganini
9853250fda Remove healthcheck feature (systemd log spam). 2020-03-30 00:21:49 -07:00
JP Mens
7cc5781e17 Merge pull request #33 from marcopaganini/master
Run ot-recorder as a non-privileged user.
2020-03-28 09:49:50 +01:00
Mark Hoek
fa54e6429d Change default recorder version to 0.8.6 2020-03-14 14:22:19 +01:00
Marco Paganini
47e273651c Run ot-recorder as an unprivileged user.
- Default UID is 9999 (defined with EUID=9999) inside Dockerfile.
- Please note that the docker volume is visible as a directory on the
  host under /var/lib/docker/volumes.  This is normally not a problem,
  as this directory is not accessible by regular users on the host.
- It is still possible to redefine the UID by passing -e EUID=<uid> to
  docker run, but that should not be necessary in most situations.
  This fact has been left out of the documentation as it only appeals
  to more advanced users (who will look at the Dockerfile directly.)
2020-03-12 22:10:37 -07:00
Jan-Piet Mens
5524982627 specify Recorder version at build time 2019-01-21 21:22:50 +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
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
1f4c151da8 try w/o openssl-dev (travis) 2019-01-09 17:22:20 +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
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
root
6d6beaa8f2 Adding Mosquitto repo 2016-10-26 19:51:37 +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
0cf4350004 new Dockerfile based on our Debian packages 2016-02-09 12:38:34 +01:00
Jan-Piet Mens
da9da49bda new 2016-01-25 10:49:01 +01:00