mirror of
https://github.com/fergalmoran/dss.api.git
synced 2025-12-22 09:18:13 +00:00
Docker permissions changes
This commit is contained in:
@@ -7,6 +7,14 @@ RUN mkdir /files/static
|
||||
RUN mkdir /files/media
|
||||
RUN mkdir /files/cache/mixes
|
||||
RUN mkdir /files/cache/waveforms
|
||||
|
||||
RUN touch /files/tmp/dss.log
|
||||
RUN chmod 777 /files/tmp/dss.log
|
||||
RUN chmod 777 /files/cache -R
|
||||
|
||||
RUN chmod +x /code/bin/wav2png
|
||||
RUN chmod +x /code/run_web.sh
|
||||
RUN chmod +x /code/run_celery.sh
|
||||
|
||||
WORKDIR /code
|
||||
|
||||
|
||||
@@ -20,7 +20,7 @@ DEVELOPMENT = DEBUG
|
||||
# AUTH_USER_MODEL = 'spa.UserProfile'
|
||||
|
||||
TEMPLATE_DEBUG = DEBUG
|
||||
VERSION = '3.0.1'
|
||||
VERSION = '3.0.2'
|
||||
|
||||
ADMINS = (
|
||||
('Fergal Moran', 'fergal.moran@gmail.com'),
|
||||
|
||||
@@ -1,6 +1,8 @@
|
||||
#!/bin/bash
|
||||
python manage.py migrate
|
||||
|
||||
chmod 777 /files/tmp/dss.log
|
||||
|
||||
touch /srv/logs/gunicorn.log
|
||||
touch /srv/logs/access.log
|
||||
tail -n 0 -f /srv/logs/*.log &
|
||||
|
||||
Reference in New Issue
Block a user