File processing
Introducing the asset of type file creation. This involves making a node collection entry of type asset, as well as a file collection entry, plus all the needed variations if such file is an image or a video. Further, depending on the storage backend (pillar or other) we synchronise the files there using rsync. Currently this functionality is available only via pillar-web, since a web interface is needed to upload the file in a storage folder, which is shared between the two applications.
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
FROM debian
|
||||
FROM ubuntu
|
||||
MAINTAINER Francesco Siddi <francesco@blender.org>
|
||||
|
||||
RUN apt-get update && apt-get install -y \
|
||||
@@ -9,21 +9,34 @@ git \
|
||||
nano \
|
||||
zlib1g-dev \
|
||||
libjpeg-dev \
|
||||
software-properties-common
|
||||
|
||||
RUN add-apt-repository ppa:mc3man/trusty-media \
|
||||
&& apt-get update && apt-get install -y \
|
||||
ffmpeg
|
||||
|
||||
|
||||
RUN mkdir /data
|
||||
RUN mkdir /data/www
|
||||
RUN mkdir /data/www/pillar
|
||||
RUN mkdir /data/dev
|
||||
RUN mkdir /data/dev/pillar
|
||||
RUN mkdir /data \
|
||||
&& mkdir /data/www \
|
||||
&& mkdir /data/www/pillar \
|
||||
&& mkdir /data/dev \
|
||||
&& mkdir /data/dev/pillar \
|
||||
&& mkdir /storage \
|
||||
&& mkdir /storage/shared \
|
||||
&& mkdir /storage/pillar \
|
||||
&& mkdir /data/config \
|
||||
&& mkdir /storage/logs
|
||||
|
||||
RUN git clone https://github.com/armadillica/pillar.git /data/www/pillar
|
||||
|
||||
RUN pip install virtualenv
|
||||
RUN virtualenv /data/venv
|
||||
RUN pip install virtualenv \
|
||||
&& virtualenv /data/venv
|
||||
RUN . /data/venv/bin/activate && pip install -r /data/www/pillar/requirements.txt
|
||||
|
||||
VOLUME /data/dev/pillar
|
||||
VOLUME /data/config
|
||||
VOLUME /storage/shared
|
||||
VOLUME /storage/pillar
|
||||
|
||||
ENV MONGO_HOST mongo_pillar
|
||||
|
||||
|
Reference in New Issue
Block a user