Separate widgets sounds directory and make it a docker volume
This commit is contained in:
@@ -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;'"]
|
||||
|
||||
@@ -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
|
||||
|
||||
|
||||
0
sounds/widgets/.gitkeep
Normal file
0
sounds/widgets/.gitkeep
Normal file
Reference in New Issue
Block a user