diff --git a/client/Dockerfile b/client/Dockerfile index 84e62db..9847cbb 100644 --- a/client/Dockerfile +++ b/client/Dockerfile @@ -13,4 +13,4 @@ COPY deploy/php/media_proxy.php /usr/share/nginx/html/media_proxy.php COPY deploy/php/sounds_list.php /usr/share/nginx/html/sounds_list.php COPY client/nginx.conf /etc/nginx/conf.d/default.conf EXPOSE 80 -CMD ["sh", "-c", "php-fpm83 && exec nginx -g 'daemon off;'"] +CMD ["sh", "-c", "find /usr/share/nginx/html/sounds/widgets -type d -exec chmod 755 {} \\; 2>/dev/null; find /usr/share/nginx/html/sounds/widgets -type f -exec chmod 644 {} \\; 2>/dev/null; php-fpm83 && exec nginx -g 'daemon off;'"] diff --git a/docker-compose.yml b/docker-compose.yml index d9b7bbb..11e6f21 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -35,6 +35,8 @@ services: - CHGRID_MEDIA_PROXY_SESSION_CHECK_URL=http://server:4474/auth/session/check ports: - "127.0.0.1:4474:80" + volumes: + - ./sounds/widgets:/usr/share/nginx/html/sounds/widgets depends_on: - server diff --git a/sounds/widgets/.gitkeep b/sounds/widgets/.gitkeep new file mode 100644 index 0000000..e69de29