Skip to content

Commit

Permalink
apache can now download components
Browse files Browse the repository at this point in the history
  • Loading branch information
tabroughton committed Jul 11, 2019
1 parent 2bbcca2 commit 5f96a79
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
1 change: 1 addition & 0 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ services:
- /srv/www/backdrop/html/sites:/var/www/html/sites
- /srv/www/backdrop/html/layouts:/var/www/html/layouts
- /srv/www/backdrop/html/modules:/var/www/html/modules
- /srv/www/backdrop/html/themes:/var/www/html/themes
environment:
BACKDROP_DB_HOST: "${BACKDROP_DB_HOST}"
BACKDROP_DB_PORT: "${BACKDROP_DB_PORT}"
Expand Down
7 changes: 7 additions & 0 deletions docker-entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,11 @@
cp /var/www/html/files-core/.htaccess /var/www/html/files/
chown -R www-data:www-data /var/www/html/files/
chmod -R 770 /var/www/html/files/
chown -R www-data:www-data /var/www/html/modules/
chmod -R 770 /var/www/html/modules/
chown -R www-data:www-data /var/www/html/layouts/
chmod -R 770 /var/www/html/layouts/
chown -R www-data:www-data /var/www/html/themes/
chmod -R 770 /var/www/html/themes/

apache2-foreground

0 comments on commit 5f96a79

Please sign in to comment.