mirror of
https://github.com/alexbelgium/hassio-addons.git
synced 2026-02-04 10:57:43 +01:00
addition of nextcloud and transmission based on linuxserver
This commit is contained in:
20
nextcloud/Dockerfile
Normal file
20
nextcloud/Dockerfile
Normal file
@@ -0,0 +1,20 @@
|
||||
ARG BUILD_FROM
|
||||
|
||||
FROM ${BUILD_FROM}
|
||||
|
||||
ENV NEXTCLOUD_PATH="/data/config/www/nextcloud"
|
||||
|
||||
# modify/copy files
|
||||
RUN sed -i "s|data|share/nextcloud|g" /etc/cont-init.d/*
|
||||
|
||||
RUN sed -i "s|config|data/config|g" /etc/cont-init.d/*
|
||||
|
||||
RUN sed -i "s|data|share/nextcloud|g" /etc/services.d/nginx/*
|
||||
|
||||
RUN sed -i "s|config|data/config|g" /etc/services.d/nginx/*
|
||||
|
||||
COPY root/ /
|
||||
|
||||
RUN ["chmod", "+x", "/defaults/nextcloud-perms.sh"]
|
||||
|
||||
VOLUME ["/share", "/ssl", "/data", "/media"]
|
||||
Reference in New Issue
Block a user