File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -150,10 +150,13 @@ services:
150150 - " dockerhost:${DOCKER_HOST_IP}"
151151 environment :
152152 - PHP_IDE_CONFIG=${PHP_IDE_CONFIG}
153+ - DOCKER_HOST=tcp://docker-in-docker:2375
153154 depends_on :
154155 - workspace
155156 networks :
156157 - backend
158+ links :
159+ - docker-in-docker
157160
158161# ## PHP Worker ############################################
159162 php-worker :
@@ -715,6 +718,15 @@ services:
715718 ports :
716719 - 9010:9000
717720
721+ # ## Docker-in-Docker ################################################
722+ docker-in-docker :
723+ image : docker:dind
724+ privileged : true
725+ volumes :
726+ - ${APP_CODE_PATH_HOST}:${APP_CODE_PATH_CONTAINER}
727+ expose :
728+ - 2375
729+
718730# ## NetData ################################################
719731 netdata :
720732 image : titpetric/netdata:latest
You can’t perform that action at this time.
0 commit comments