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/
|
||||
|
||||
|
||||
FROM debian:buster-slim
|
||||
|
||||
#RUN ln -s /config /library \
|
||||
# && ln -s /data/seafuser /home/seafuser
|
||||
|
||||
FROM flowgunso/seafile-client:latest
|
||||
|
||||
#RUN mkdir /library \
|
||||
# && ln -s /config /library
|
||||
ENV \
|
||||
SEAF_SERVER_URL="SERVER_URL" \
|
||||
SEAF_USERNAME="USERNAME" \
|
||||
SEAF_PASSWORD="PASSWORD" \
|
||||
SEAF_LIBRARY_UUID="LIBRARY_UUID" \
|
||||
SEAF_SKIP_SSL_CERT="SKIP_SSL_CERT"
|
||||
SEAF_SERVER_URL="${SERVER_URL}" \
|
||||
SEAF_USERNAME="${USERNAME}" \
|
||||
SEAF_PASSWORD="${PASSWORD}" \
|
||||
SEAF_LIBRARY_UUID="${LIBRARY_UUID}" \
|
||||
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"
|
||||
description: "My first real add-on!"
|
||||
version: "0.0.03"
|
||||
version: "0.0.01e"
|
||||
slug: "seafile_test"
|
||||
url: https://git.lermer.nl/Mathijs/Hass-addons/src/branch/main/seafile_sync
|
||||
init: false
|
||||
|
@ -9,7 +9,11 @@ startup: application
|
|||
arch:
|
||||
- amd64
|
||||
map:
|
||||
- "config:/library:ro"
|
||||
- backup:ro
|
||||
- config:ro
|
||||
- media:rw
|
||||
- share:rw
|
||||
# - ssl:ro
|
||||
host_network: true
|
||||
options:
|
||||
SERVER_URL: https://example.com
|
||||
|
@ -24,5 +28,5 @@ schema:
|
|||
LIBRARY_UUID: password
|
||||
SKIP_SSL_CERT: str
|
||||
|
||||
#volumes:
|
||||
# - /config:/library:ro
|
||||
volumes:
|
||||
- /mnt/data/supervisor/homeassistant:/library:ro
|
Loading…
Reference in a new issue