mirror of
https://github.com/vimagick/dockerfiles.git
synced 2025-01-12 04:23:04 +02:00
update openrefine
This commit is contained in:
parent
fa0cb1351a
commit
b94a1f6a9b
@ -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"]
|
||||
|
@ -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
|
||||
|
@ -3,5 +3,5 @@ openrefine:
|
||||
ports:
|
||||
- "3333:3333"
|
||||
volumes:
|
||||
- ./data:/root/.local/share/openrefine
|
||||
- ./data:/data
|
||||
restart: always
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user