preserve user uploaded content #38

Merged
bilal.catic merged 2 commits from preserve-uploads-dir into master 2018-10-22 08:46:42 +02:00
3 changed files with 3 additions and 0 deletions
Showing only changes of commit a07b3fb7d9 - Show all commits

View File

@@ -68,5 +68,6 @@ RUN ln -s ../html api
COPY docker/php/.htaccess /var/www/html/
RUN chown -R www-data:www-data /var/www/html
RUN chmod -R 755 /var/www/html/app/uploads
CMD /init-scripts/setup.sh

View File

@@ -23,6 +23,7 @@ services:
- WP_JWT_AUTH_SECRET_KEY
volumes:
- ./log/backend/:/var/log/apache2/
- ./docker/backend/uploads/:/var/www/html/app/uploads/
ports:
- '8081:80'
depends_on:

1
docker/backend/.gitignore vendored Normal file
View File

@@ -0,0 +1 @@
uploads/