Update docker-compose.yml to add 'dind' to 'Workspace' (#1869)

Add 'docker-in-docker' links end 'DOCKER_HOST' environment to 'workspace'.
This commit is contained in:
vlauciani 2018-11-22 01:10:33 +01:00 committed by Shao Yu-Lung (Allen)
parent 156d124db0
commit d7765a7b10
1 changed files with 3 additions and 0 deletions

View File

@ -111,9 +111,12 @@ services:
tty: true
environment:
- PHP_IDE_CONFIG=${PHP_IDE_CONFIG}
- DOCKER_HOST=tcp://docker-in-docker:2375
networks:
- frontend
- backend
links:
- docker-in-docker
### PHP-FPM ##############################################
php-fpm: