Skip to content

An open-source, self-hostable PaaS alternative to Vercel, Heroku & Netlify that lets you easily deploy static sites, databases, full-stack applications and 360+ one-click services on your own servers.

Add .env file as read-only volume

Andras Bacsai376c081bed29
diff --git a/docker-compose.windows.yml b/docker-compose.windows.yml
index 7031b4ae13..750f6eaa9d 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