From 376c081bed296439969e711974c7e736e3b2fbb0 Mon Sep 17 00:00:00 2001 From: Andras Bacsai Date: Fri, 26 Jan 2024 10:37:33 +0100 Subject: [PATCH] Add .env file as read-only volume --- docker-compose.windows.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/docker-compose.windows.yml b/docker-compose.windows.yml index 7031b4ae1..750f6eaa9 100644 --- a/docker-compose.windows.yml +++ b/docker-compose.windows.yml @@ -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