Add .env file as read-only volume
This commit is contained in:
parent
9f5e1fa9e3
commit
376c081bed
@ -15,6 +15,10 @@ services:
|
|||||||
extra_hosts:
|
extra_hosts:
|
||||||
- 'host.docker.internal:host-gateway'
|
- 'host.docker.internal:host-gateway'
|
||||||
volumes:
|
volumes:
|
||||||
|
- type: bind
|
||||||
|
source: .env
|
||||||
|
target: /var/www/html/.env
|
||||||
|
read_only: true
|
||||||
- ./ssh:/var/www/html/storage/app/ssh
|
- ./ssh:/var/www/html/storage/app/ssh
|
||||||
- ./applications:/var/www/html/storage/app/applications
|
- ./applications:/var/www/html/storage/app/applications
|
||||||
- ./databases:/var/www/html/storage/app/databases
|
- ./databases:/var/www/html/storage/app/databases
|
||||||
|
Loading…
Reference in New Issue
Block a user