mirror of
https://github.com/vimagick/dockerfiles.git
synced 2025-01-26 05:27:31 +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
|
WORKDIR /app
|
||||||
|
|
||||||
RUN set -xe \
|
RUN set -xe \
|
||||||
&& apk add -U bash curl tar \
|
&& apk add --no-cache bash curl jq tar \
|
||||||
&& curl -sSL ${OR_URL} | tar xz --strip 1 \
|
&& curl -sSL ${OR_URL} | tar xz --strip 1
|
||||||
&& rm -rf /var/cache/apk/*
|
|
||||||
|
|
||||||
VOLUME /root/.local/share/openrefine
|
VOLUME /data
|
||||||
|
WORKDIR /data
|
||||||
|
|
||||||
EXPOSE 3333
|
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
|
data: cleaning it; transforming it from one format into another; and extending
|
||||||
it with web services and external data.
|
it with web services and external data.
|
||||||
|
|
||||||
|
Please read the [wiki][2] to learn more.
|
||||||
|
|
||||||
### docker-compose.yml
|
### docker-compose.yml
|
||||||
|
|
||||||
```yaml
|
```yaml
|
||||||
@ -15,8 +17,9 @@ openrefine:
|
|||||||
ports:
|
ports:
|
||||||
- "3333:3333"
|
- "3333:3333"
|
||||||
volumes:
|
volumes:
|
||||||
- ./data:/root/.local/share/openrefine
|
- ./data:/data
|
||||||
restart: always
|
restart: always
|
||||||
```
|
```
|
||||||
|
|
||||||
[1]: http://openrefine.org/index.html
|
[1]: http://openrefine.org/index.html
|
||||||
|
[2]: https://github.com/OpenRefine/OpenRefine/wiki
|
||||||
|
@ -3,5 +3,5 @@ openrefine:
|
|||||||
ports:
|
ports:
|
||||||
- "3333:3333"
|
- "3333:3333"
|
||||||
volumes:
|
volumes:
|
||||||
- ./data:/root/.local/share/openrefine
|
- ./data:/data
|
||||||
restart: always
|
restart: always
|
||||||
|
@ -21,6 +21,10 @@ red5:
|
|||||||
|
|
||||||
```bash
|
```bash
|
||||||
$ docker-compose up -d
|
$ docker-compose up -d
|
||||||
|
$ docker-compose exec red5 bash
|
||||||
|
>>> vi /opt/red5/conf/red5.properties
|
||||||
|
>>> exit
|
||||||
|
$ docker-compose restart
|
||||||
```
|
```
|
||||||
|
|
||||||
## Client Setup
|
## Client Setup
|
||||||
|
@ -29,8 +29,10 @@ client:
|
|||||||
image: easypi/rtmp-client-arm
|
image: easypi/rtmp-client-arm
|
||||||
# command:
|
# command:
|
||||||
# - ffmpeg -i $$RTMP_DEV -video_size 800x600 -vf "hflip,vflip" -f flv $$RTMP_URI
|
# - 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:
|
devices:
|
||||||
- /dev/video0:/dev/video0
|
# - /dev/snd
|
||||||
|
- /dev/video0
|
||||||
environment:
|
environment:
|
||||||
# - RTMP_DEV=rtsp://192.168.42.1/live
|
# - RTMP_DEV=rtsp://192.168.42.1/live
|
||||||
- RTMP_URI=rtmp://easypi.info/live/webcam
|
- RTMP_URI=rtmp://easypi.info/live/webcam
|
||||||
|
Loading…
x
Reference in New Issue
Block a user