Commit cf51198d authored by RyanHerb's avatar RyanHerb

docker* add necessary elements for fuse to run

parent 1012e5fd
......@@ -34,8 +34,11 @@ services:
- fuse:fuse
fuse:
image: vidjil:test
command: bash /entrypoints/fuse-entrypoint.sh
volumes:
- /home/user/vidjil:/usr/share/vidjil
- /opt/vidjil/result/results:/mnt/result/results
- /opt/vidjil/result/tmp:/mnt/result/tmp
- /opt/vidjil/upload/uploads:/mnt/upload/uploads
nginx:
image: vidjil:test
depends_on:
......
......@@ -56,5 +56,6 @@ copy ./conf/defs.py /etc/vidjil/defs.py
copy ./conf/conf.js /etc/vidjil/conf.js
copy ./scripts/nginx-entrypoint.sh /entrypoints/nginx-entrypoint.sh
copy ./scripts/uwsgi-entrypoint.sh /entrypoints/uwsgi-entrypoint.sh
copy ./scripts/fuse-entrypoint.sh /entrypoints/fuse-entrypoint.sh
run mkdir /usr/share/vidjil/server/web2py/applications/vidjil/databases && touch /usr/share/vidjil/server/web2py/applications/vidjil/databases/sql.log
run adduser vidjil && usermod -aG sudo vidjil
#!/bin/bash
cd /usr/share/vidjil/server
python fuse_server.py
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment