Add .env file as read-only volume

This commit is contained in:
Andras Bacsai 2024-01-26 10:37:33 +01:00
parent 9f5e1fa9e3
commit 376c081bed

View File

@ -15,6 +15,10 @@ services:
extra_hosts:
- 'host.docker.internal:host-gateway'
volumes:
- type: bind
source: .env
target: /var/www/html/.env
read_only: true
- ./ssh:/var/www/html/storage/app/ssh
- ./applications:/var/www/html/storage/app/applications
- ./databases:/var/www/html/storage/app/databases