Merge branch 'main' into dev
This commit is contained in:
commit
1ab66f9544
2 changed files with 35 additions and 9 deletions
|
@ -1,10 +1,32 @@
|
||||||
# https://gitlab.com/flwgns-docker/seafile-client/
|
# https://gitlab.com/flwgns-docker/seafile-client/
|
||||||
|
|
||||||
|
|
||||||
|
FROM debian:buster-slim
|
||||||
|
|
||||||
|
#RUN ln -s /config /library \
|
||||||
|
# && ln -s /data/seafuser /home/seafuser
|
||||||
|
|
||||||
FROM flowgunso/seafile-client:latest
|
FROM flowgunso/seafile-client:latest
|
||||||
|
|
||||||
|
#RUN mkdir /library \
|
||||||
|
# && ln -s /config /library
|
||||||
ENV \
|
ENV \
|
||||||
SEAF_SERVER_URL="SERVER_URL" \
|
SEAF_SERVER_URL="${SERVER_URL}" \
|
||||||
SEAF_USERNAME="USERNAME" \
|
SEAF_USERNAME="${USERNAME}" \
|
||||||
SEAF_PASSWORD="PASSWORD" \
|
SEAF_PASSWORD="${PASSWORD}" \
|
||||||
SEAF_LIBRARY_UUID="LIBRARY_UUID" \
|
SEAF_LIBRARY_UUID="${LIBRARY_UUID}" \
|
||||||
SEAF_SKIP_SSL_CERT="SKIP_SSL_CERT"
|
SEAF_SKIP_SSL_CERT="${SKIP_SSL_CERT}"
|
||||||
|
|
||||||
|
# MOFIFY DATA PATH
|
||||||
|
RUN sed -i "s|library|config|g" /etc/services.d/seafile/run
|
||||||
|
|
||||||
|
RUN sed -i "s|/home/seafuser|/data/seafuser|g" /etc/services.d/seafile/run
|
||||||
|
|
||||||
|
VOLUME [ "/data" ]
|
||||||
|
VOLUME [ "/config" ]
|
||||||
|
#RUN mkdir /config
|
||||||
|
#RUN mkdir /library
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
name: "Seafile sync"
|
name: "Seafile sync"
|
||||||
description: "My first real add-on!"
|
description: "My first real add-on!"
|
||||||
version: "0.0.03"
|
version: "0.0.01e"
|
||||||
slug: "seafile_test"
|
slug: "seafile_test"
|
||||||
url: https://git.lermer.nl/Mathijs/Hass-addons/src/branch/main/seafile_sync
|
url: https://git.lermer.nl/Mathijs/Hass-addons/src/branch/main/seafile_sync
|
||||||
init: false
|
init: false
|
||||||
|
@ -9,7 +9,11 @@ startup: application
|
||||||
arch:
|
arch:
|
||||||
- amd64
|
- amd64
|
||||||
map:
|
map:
|
||||||
- "config:/library:ro"
|
- backup:ro
|
||||||
|
- config:ro
|
||||||
|
- media:rw
|
||||||
|
- share:rw
|
||||||
|
# - ssl:ro
|
||||||
host_network: true
|
host_network: true
|
||||||
options:
|
options:
|
||||||
SERVER_URL: https://example.com
|
SERVER_URL: https://example.com
|
||||||
|
@ -24,5 +28,5 @@ schema:
|
||||||
LIBRARY_UUID: password
|
LIBRARY_UUID: password
|
||||||
SKIP_SSL_CERT: str
|
SKIP_SSL_CERT: str
|
||||||
|
|
||||||
#volumes:
|
volumes:
|
||||||
# - /config:/library:ro
|
- /mnt/data/supervisor/homeassistant:/library:ro
|
Loading…
Reference in a new issue