From 18c958f1e99007246587fb77b88d4eee7e7afdd7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Micka=C3=ABl=20Perrin?= Date: Tue, 19 Jul 2016 23:40:00 +0200 Subject: [PATCH] [TASK] Update example to sync folder with ignored --- README.md | 2 +- example/docker-compose.development.yml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 36bf410..7c4c2ac 100644 --- a/README.md +++ b/README.md @@ -28,7 +28,7 @@ A full example is provided in the [example folder](https://github.com/mickaelper Then, spawn in a new shell: - docker exec -it example_php_1 bash -c 'composer --working-dir=/src/project/src install' + docker exec -it example_php_1 bash -c 'composer --working-dir=/src/example/src install' ### Generic example diff --git a/example/docker-compose.development.yml b/example/docker-compose.development.yml index 18904ce..01f5f80 100644 --- a/example/docker-compose.development.yml +++ b/example/docker-compose.development.yml @@ -12,7 +12,7 @@ services: volumes: # Configure here the mappings between your host and the container. # Simply add a `.magic` extension to the volume path in the container. - - ./src:/src.magic + - ..:/src.magic # this is needed for automatic discovery of mounted volumes in this container. - /var/run/docker.sock:/tmp/docker.sock:ro # If you want to configure USER / UID / IGNORE by volumes, you can use a simple YAML configuration file