Merge pull request #1269 from francoisfaubert/master
Clarified how to split multiple docker-compose files on Windows
This commit is contained in:
commit
ba61566f28
|
@ -162,6 +162,7 @@ cp env-example .env
|
||||||
|
|
||||||
You can edit the `.env` file to chose which software's you want to be installed in your environment. You can always refer to the `docker-compose.yml` file to see how those variables are been used.
|
You can edit the `.env` file to chose which software's you want to be installed in your environment. You can always refer to the `docker-compose.yml` file to see how those variables are been used.
|
||||||
|
|
||||||
|
Depending on the host's operating system you may need to change the value given to `COMPOSE_FILE`. When you are running Laradock on Mac OS the correct file separator to use is `:`. When running Laradock from a Windows environment multiple files must be separated with `;`.
|
||||||
|
|
||||||
2 - Build the enviroment and run it using `docker-compose`
|
2 - Build the enviroment and run it using `docker-compose`
|
||||||
|
|
||||||
|
|
|
@ -25,6 +25,7 @@ DATA_SAVE_PATH=~/.laradock/data
|
||||||
### Docker compose files ###############################################################################################
|
### Docker compose files ###############################################################################################
|
||||||
# Select which docker-compose files to include.
|
# Select which docker-compose files to include.
|
||||||
# If using docker-sync. Set the value to: docker-compose.yml:docker-compose.dev.yml:docker-compose.sync.yml
|
# If using docker-sync. Set the value to: docker-compose.yml:docker-compose.dev.yml:docker-compose.sync.yml
|
||||||
|
# Change the separator from : to ; on Windows
|
||||||
|
|
||||||
COMPOSE_FILE=docker-compose.yml:docker-compose.dev.yml
|
COMPOSE_FILE=docker-compose.yml:docker-compose.dev.yml
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue