create volume mountpoints
This commit is contained in:
parent
cd8048b477
commit
c87adf86d5
|
@ -63,10 +63,10 @@ RUN set -x && \
|
||||||
mkdir -p /run/www && \
|
mkdir -p /run/www && \
|
||||||
chown -R www:www /run/www && \
|
chown -R www:www /run/www && \
|
||||||
chmod -R 0700 /run/www && \
|
chmod -R 0700 /run/www && \
|
||||||
mkdir -p /config && \
|
mkdir -p /config/media && \
|
||||||
chown -R www:www /config && \
|
chown -R www:www /config && \
|
||||||
chmod -R 0755 /config && \
|
chmod -R 0755 /config && \
|
||||||
mkdir -p /downloads && \
|
mkdir -p /downloads/{audio,video} && \
|
||||||
chown -R www:www /downloads && \
|
chown -R www:www /downloads && \
|
||||||
chmod -R 0755 /downloads && \
|
chmod -R 0755 /downloads && \
|
||||||
# Reset permissions
|
# Reset permissions
|
||||||
|
|
|
@ -19,5 +19,6 @@ DATABASES = {
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
MEDIA_ROOT = ROOT_DIR / 'config' / 'media'
|
||||||
SYNC_VIDEO_ROOT = ROOT_DIR / 'downloads' / 'video'
|
SYNC_VIDEO_ROOT = ROOT_DIR / 'downloads' / 'video'
|
||||||
SYNC_AUDIO_ROOT = ROOT_DIR / 'downloads' / 'audio'
|
SYNC_AUDIO_ROOT = ROOT_DIR / 'downloads' / 'audio'
|
||||||
|
|
Loading…
Reference in New Issue