1
0
mirror of https://github.com/vimagick/dockerfiles.git synced 2024-12-23 01:39:27 +02:00

update ot-recorder

This commit is contained in:
kev 2021-10-28 18:31:36 +08:00
parent 1d8da0c86d
commit 3bec6a3066
7 changed files with 10 additions and 11 deletions

View File

@ -1,7 +1,7 @@
FROM maven:3-jdk-8-slim AS builder
MAINTAINER EasyPi Software Foundation
ENV APP_VERSION=7.45.0.Final
ENV APP_VERSION=8.12.0.Final
ENV APP_URL=https://github.com/kiegroup/optaweb-employee-rostering/archive/${APP_VERSION}.tar.gz
WORKDIR /opt/app
@ -17,7 +17,7 @@ RUN set -xe \
FROM openjdk:8-alpine
MAINTAINER EasyPi Software Foundation
ENV APP_VERSION=7.45.0.Final
ENV APP_VERSION=8.12.0.Final
WORKDIR /opt/app

View File

@ -15,7 +15,7 @@ services:
restart: unless-stopped
postgres:
image: postgres:12-alpine
image: postgres:14-alpine
volumes:
- ./data:/var/lib/postgresql/data
environment:

View File

@ -26,4 +26,4 @@ VOLUME $OTR_STORAGEDIR
COPY docker-entrypoint.sh /entrypoint.sh
ENTRYPOINT ["/entrypoint.sh"]
EXPOSE 8083
EXPOSE 8083 8085

View File

@ -7,7 +7,7 @@ location data published via MQTT (or HTTP) by the OwnTracks apps.
## docker-compose.yml
```yaml
version: "3.7"
version: "3.8"
services:
@ -15,6 +15,7 @@ services:
image: vimagick/ot-recorder
ports:
- "8083:8083"
- "8085:8085"
volumes:
- ./data:/var/spool/owntracks/recorder/store
environment:
@ -23,8 +24,7 @@ services:
- OTR_USER=username
- OTR_PASS=password
- OTR_TOPICS=owntracks/#
# OTR_CAFILE=/etc/ssl/certs/DST_Root_CA_X3.pem
# OTR_BROWSERAPIKEY=XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
# OTR_CAPATH=/etc/ssl/certs/
# OTR_OPTIONS=--debug
restart: unless-stopped
@ -47,7 +47,6 @@ Click [this][2] to generate a google map api key.
```bash
$ docker-compse up -d
$ tree data
$ docker-compose exec recorder bash
>>> ocat --list
{"results":["foo"]}

View File

@ -26,4 +26,4 @@ VOLUME $OTR_STORAGEDIR
COPY docker-entrypoint.sh /entrypoint.sh
ENTRYPOINT ["/entrypoint.sh"]
EXPOSE 8083
EXPOSE 8083 8085

View File

@ -6,6 +6,7 @@ services:
image: easypi/ot-recorder-arm
ports:
- "8083:8083"
- "8085:8085"
volumes:
- ./data:/var/spool/owntracks/recorder/store
environment:
@ -15,7 +16,6 @@ services:
- OTR_PASS=password
- OTR_TOPICS=owntracks/#
- OTR_CAPATH=/etc/ssl/certs/
# OTR_BROWSERAPIKEY=XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
# OTR_OPTIONS=--debug
restart: unless-stopped

View File

@ -6,6 +6,7 @@ services:
image: vimagick/ot-recorder
ports:
- "8083:8083"
- "8085:8085"
volumes:
- ./data:/var/spool/owntracks/recorder/store
environment:
@ -15,7 +16,6 @@ services:
- OTR_PASS=password
- OTR_TOPICS=owntracks/#
- OTR_CAPATH=/etc/ssl/certs/
# OTR_BROWSERAPIKEY=XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
# OTR_OPTIONS=--debug
restart: unless-stopped