|
@ -915,6 +915,7 @@ mk_docker_run_options() { |
|
|
docker_path=/var/lib/compose/root/${parent_dir##*/}/${compose_file##*/} |
|
|
docker_path=/var/lib/compose/root/${parent_dir##*/}/${compose_file##*/} |
|
|
docker_run_opts+=( |
|
|
docker_run_opts+=( |
|
|
"-e" "COMPOSE_YML_FILE=${compose_file##*/}" |
|
|
"-e" "COMPOSE_YML_FILE=${compose_file##*/}" |
|
|
|
|
|
"-e" "HOST_COMPOSE_YML_FILE=${local}" |
|
|
"-v" "${local}:${docker_path}:ro" |
|
|
"-v" "${local}:${docker_path}:ro" |
|
|
"-w" "${docker_path%/*}" |
|
|
"-w" "${docker_path%/*}" |
|
|
) |
|
|
) |
|
|