Skip to content

Commit f510d1f

Browse files
committed
examples
volumes permissions
1 parent d85b001 commit f510d1f

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

examples/fpm-nginx-dhi-k8s/wsc-web.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,7 @@ spec:
9393
volumeMounts:
9494
- name: wsc-web-data
9595
mountPath: /var/www/html
96-
#readOnly: true
96+
readOnly: true
9797
- name: nginx-config
9898
subPath: default.conf
9999
mountPath: /etc/nginx/conf.d/default.conf

examples/fpm-nginx-dhi/docker-compose.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ services:
2929
# - 443:8443/tcp
3030
# - 443:8443/udp
3131
volumes:
32-
- ./html:/var/www/html:rw
32+
- ./html:/var/www/html:ro
3333
- ./config/nginx_default.conf:/etc/nginx/conf.d/default.conf:ro
3434
# Without Traefik:
3535
#- ./config/nginx_default_withoutTraefik.conf:/etc/nginx/conf.d/default.conf:ro

examples/fpm-nginx/docker-compose.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ services:
4747
# - 443:8443/tcp
4848
# - 443:8443/udp
4949
volumes:
50-
- ./html:/var/www/html:rw
50+
- ./html:/var/www/html:ro
5151
- ./config/nginx_default.conf:/etc/nginx/conf.d/default.conf:ro
5252
# Without Traefik:
5353
#- ./config/nginx_default_withoutTraefik.conf:/etc/nginx/conf.d/default.conf:ro

0 commit comments

Comments
 (0)