mirror of
https://github.com/cytopia/devilbox.git
synced 2025-02-20 17:33:05 +00:00
Make mounts read-only where appropriate
This commit is contained in:
parent
d6920f77d3
commit
075924fd6f
@ -72,16 +72,16 @@ services:
|
||||
# Custom scripts/binaries required for httpd server vhost
|
||||
# configuration to work.
|
||||
# (configured in /etc/${HTTPD_SERVER}/02-vhost-mass.conf)
|
||||
- ./.devilbox/bin/${HTTPD_SERVER}:/opt/bin
|
||||
- ./.devilbox/bin/${HTTPD_SERVER}:/opt/bin:ro
|
||||
|
||||
# Mount user-defined httpd configuration files
|
||||
# @see environment::CUSTOM_HTTPD_CONF_DIR for how this
|
||||
# is added in httpd server
|
||||
- ./.devilbox/etc/${HTTPD_SERVER}:/etc/${HTTPD_SERVER}
|
||||
- ./.devilbox/etc/${HTTPD_SERVER}:/etc/${HTTPD_SERVER}:ro
|
||||
|
||||
# Mount custom intranet
|
||||
# (configured in /etc/${HTTPD_SERVER}/01-vhost-default.conf)
|
||||
- ./.devilbox/www:/var/www/default
|
||||
- ./.devilbox/www:/var/www/default:ro
|
||||
|
||||
# Mount user-defined httpd log
|
||||
# @see ./etc/${HTTPD_SERVER}/*.conf for log defines
|
||||
@ -89,7 +89,7 @@ services:
|
||||
|
||||
# Mount custom mass virtual hosting
|
||||
# (configured in /etc/${HTTPD_SERVER}/02-vhost-mass.conf)
|
||||
- ${HOST_PATH_TO_WWW_DOCROOTS}:/shared/httpd
|
||||
- ${HOST_PATH_TO_WWW_DOCROOTS}:/shared/httpd:ro
|
||||
|
||||
links:
|
||||
# ---- Format: ----
|
||||
@ -174,7 +174,7 @@ services:
|
||||
|
||||
# Mount custom intranet
|
||||
# (configured in /etc/${HTTPD_SERVER}/01-vhost-default.conf)
|
||||
- ./.devilbox/www:/var/www/default
|
||||
- ./.devilbox/www:/var/www/default:ro
|
||||
|
||||
# Mount logs
|
||||
- ./log/${PHP_SERVER}:/var/log/php-fpm
|
||||
@ -187,7 +187,7 @@ services:
|
||||
|
||||
# Mount devilbox user-defined *.ini files in order
|
||||
# to overwrite the default PHP configuration
|
||||
- ./cfg/${PHP_SERVER}:/etc/php-custom.d
|
||||
- ./cfg/${PHP_SERVER}:/etc/php-custom.d:ro
|
||||
|
||||
|
||||
# Mount custom mass virtual hosting
|
||||
@ -249,7 +249,7 @@ services:
|
||||
|
||||
# Mount devilbox user-defined cnf files in order
|
||||
# to overwrite the MySQL server configuration
|
||||
- ./cfg/${MYSQL_SERVER}:/etc/mysql/conf.d
|
||||
- ./cfg/${MYSQL_SERVER}:/etc/mysql/conf.d:ro
|
||||
|
||||
# Mount MySQL Data directory
|
||||
- ${HOST_PATH_TO_MYSQL_DATADIR}:/var/lib/mysql
|
||||
|
Loading…
x
Reference in New Issue
Block a user