We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 85f8f40 commit d8e45b7Copy full SHA for d8e45b7
1 file changed
admin/configure
@@ -206,6 +206,12 @@ case "$1" in
206
sed -i.bak -e '/^COMPOSE_FILE=/d' .env && rm -f .env.bak
207
if [[ $OS == Windows_NT ]]
208
then
209
+ # Optional but convenient to copy/paste paths from file explorer
210
+ # https://docs.docker.com/compose/reference/envvars/#compose_convert_windows_paths
211
+ if ! grep -q '^COMPOSE_CONVERT_WINDOWS_PATHS=' "$MB_DOCKER_ROOT/.env"
212
+ then
213
+ echo 'COMPOSE_CONVERT_WINDOWS_PATHS=1' >> .env
214
+ fi
215
# Mandatory to keep this script working
216
# https://docs.docker.com/compose/reference/envvars/#compose_path_separator
217
if ! grep -q '^COMPOSE_PATH_SEPARATOR=:$' "$MB_DOCKER_ROOT/.env"
0 commit comments