59 Commits
Author SHA1 Message Date
LorisandGitHub a540b6b7b1 Upgrade Alpine base image to version 3.24 2026-08-16 17:09:37 +02:00
Jan-Piet Mens 168c6b13a4 bump to 1.0.3 2026-08-10 11:08:15 +02:00
Jan-Piet Mens 329d9291df bump for Recorder version 1.0.2 2026-08-09 09:38:03 +02:00
Jan-Piet Mens cafcd24bc9 1.0.1 2025-08-12 08:52:52 +02:00
Sören Schneider 9159d7f9db bump alpine to 3.21.0
alpine 3.16 has reached EOL more than 6 months ago
2024-12-11 22:26:53 +01:00
Gene WoodandGitHub 43aa033051 Update the comment about systemd
This updates the comment about systemd to reflect the fact that LogFilterPatterns now exist and can filter out the noise generated by the HEALTHCHECK
2024-11-27 23:29:33 -08:00
Jan-Piet Mens 685677f56e bump to 0.9.9 2024-10-25 11:08:24 +02:00
Jan-Piet Mens 130e5bec00 bump 2024-07-23 14:49:55 +02:00
Jan-Piet Mens cab4b97726 add tzdata
addresses https://github.com/owntracks/docker-recorder/issues/75
2024-02-06 14:38:24 +01:00
Jan-Piet Mens cf3818bd9c bump to recorder 0.9.7 2024-02-06 08:56:21 +01:00
Jan-Piet Mens 329f4b9ba9 first pass 2024-02-05 19:04:27 +01:00
Jan-Piet Mens 6a4717b49c bump to 0.9.6 2024-02-05 17:40:57 +01:00
Jan-Piet Mens 6e74369f30 and if we learned how to spell 'running' ... 2023-10-24 13:19:38 +02:00
Jan-Piet Mens 2c2a7d4958 bump to 0.9.5 2023-10-24 12:08:42 +02:00
Jan-Piet Mens 5decb442c8 set an environment variable to indicate running in docker
the Recorder code will check this and if it's set use
  openlog(LOG_PERROR) for stderr messages

  addresses https://github.com/owntracks/recorder/issues/426
2023-10-24 10:57:55 +02:00
Jan-Piet Mens b3c5560004 bump to 0.9.3 2022-12-10 19:13:27 +01:00
Jan-Piet Mens 2ac6f2595a bump to 0.9.2 2022-09-29 14:12:56 +02:00
Jan-Piet Mens bf59aae22e bump to OwnTracks Recorder 0.9.1
- Add support for WITH_TOURS
- Update to Alpine 3:16 (#57)
- NEW: Makefile now sets -DNS_ENABLE_IPV6 for IPv4 and IPv6
- NEW: tour views are written to and read from STORAGEDIR/tours
- NEW: add option --variables to ot-recorder to print list of all actual settings
- UPD: move config.js into docroot/utils/ to avoid having to proxy another uri
- NEW: @@@LABEL@@@ in view HTML is replaced by view's label attribute
- FIX: refactor environment variable handling for all settings. (#380)
- NEW: add very experimental shares functionality
- FIX: support OTR_HTTPHOST and OTR_HTTPPORT configuration in environment
2022-08-10 09:50:40 +02:00
Georgi KirichkovandGitHub cd4cf8c535 Allows all users to read /config/recorder.conf
The Docker image adds /config/recorder.conf with mode 0640. When running the container using a non-root user this results in an error - "Cannot read defaults from /config/recorder.conf: Permission denied" This change will make the file readable by everyone and remove the error from the log
2022-07-31 19:22:21 +03:00
Jaeha ChoiandGitHub f33c423116 Update alpine image version 2022-06-05 01:29:39 -07:00
Jan-Piet Mens 0bf71fb6b2 bump to 0.9.0 2022-05-24 10:30:21 +02:00
Jan-Piet Mens 8d5bd0006b Revert default setting of OTR_CAFILE
addresses https://github.com/owntracks/docker-recorder/issues/53
2022-05-17 08:55:20 +02:00
Steffen Vogel 5faedd1fa5 make shell scripts executable 2022-05-16 10:36:50 +02:00
Steffen Vogel 28553c96a8 use absolute workdir 2022-05-16 10:05:35 +02:00
Steffen Vogel 59db28f3c9 re-add entrypoint.sh 2022-05-16 10:05:35 +02:00
Steffen Vogel 1925429c01 re-add --no-cache option to apk 2022-05-16 09:51:14 +02:00
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 MensandGitHub 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 AngoliandGitHub 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 AngoliandGitHub 7e2a44b861 fixed mixed tab style (#8) 2016-10-30 14:00:02 +01:00
Giovanni AngoliandGitHub 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