update openrefine

This commit is contained in:
kev 2016-07-06 17:04:44 +08:00
parent fa0cb1351a
commit b94a1f6a9b
5 changed files with 18 additions and 8 deletions

View File

@ -12,12 +12,13 @@ ENV OR_URL https://github.com/OpenRefine/OpenRefine/releases/download/${OR_VERSI
WORKDIR /app
RUN set -xe \
&& apk add -U bash curl tar \
&& curl -sSL ${OR_URL} | tar xz --strip 1 \
&& rm -rf /var/cache/apk/*
&& apk add --no-cache bash curl jq tar \
&& curl -sSL ${OR_URL} | tar xz --strip 1
VOLUME /root/.local/share/openrefine
VOLUME /data
WORKDIR /data
EXPOSE 3333
CMD /app/refine -i 0.0.0.0
ENTRYPOINT ["/app/refine"]
CMD ["-i", "0.0.0.0", "-d", "/data"]

View File

@ -7,6 +7,8 @@ OpenRefine
data: cleaning it; transforming it from one format into another; and extending
it with web services and external data.
Please read the [wiki][2] to learn more.
### docker-compose.yml
```yaml
@ -15,8 +17,9 @@ openrefine:
ports:
- "3333:3333"
volumes:
- ./data:/root/.local/share/openrefine
- ./data:/data
restart: always
```
[1]: http://openrefine.org/index.html
[2]: https://github.com/OpenRefine/OpenRefine/wiki

View File

@ -3,5 +3,5 @@ openrefine:
ports:
- "3333:3333"
volumes:
- ./data:/root/.local/share/openrefine
- ./data:/data
restart: always

View File

@ -21,6 +21,10 @@ red5:
```bash
$ docker-compose up -d
$ docker-compose exec red5 bash
>>> vi /opt/red5/conf/red5.properties
>>> exit
$ docker-compose restart
```
## Client Setup

View File

@ -29,8 +29,10 @@ client:
image: easypi/rtmp-client-arm
# command:
# - ffmpeg -i $$RTMP_DEV -video_size 800x600 -vf "hflip,vflip" -f flv $$RTMP_URI
# - ffmpeg -f alsa -i default -i $$RTMP_DEV -c:a aac -c:v libx264 -f flv $$RTMP_URI
devices:
- /dev/video0:/dev/video0
# - /dev/snd
- /dev/video0
environment:
# - RTMP_DEV=rtsp://192.168.42.1/live
- RTMP_URI=rtmp://easypi.info/live/webcam