|
@@ -717,9 +717,31 @@ services:
|
|
|
volumes:
|
|
|
- ${DATA_PATH_HOST}/portainer_data:/data
|
|
|
- /var/run/docker.sock:/var/run/docker.sock
|
|
|
+ extra_hosts:
|
|
|
+ - "dockerhost:${DOCKER_HOST_IP}"
|
|
|
ports:
|
|
|
- 9010:9000
|
|
|
|
|
|
+### IPython #########################################
|
|
|
+ ipython-controller:
|
|
|
+ build:
|
|
|
+ context: ./ipython
|
|
|
+ dockerfile: Dockerfile.controller
|
|
|
+ networks:
|
|
|
+ - backend
|
|
|
+ extra_hosts:
|
|
|
+ - "laradock-ipython:${LARADOCK_IPYTHON_CONTROLLER_IP}"
|
|
|
+ ports:
|
|
|
+ - "33327-33338:33327-33338"
|
|
|
+ ipython-engine:
|
|
|
+ build:
|
|
|
+ context: ./ipython
|
|
|
+ dockerfile: Dockerfile.engine
|
|
|
+ networks:
|
|
|
+ - backend
|
|
|
+ extra_hosts:
|
|
|
+ - "laradock-ipython:${LARADOCK_IPYTHON_CONTROLLER_IP}"
|
|
|
+
|
|
|
### Docker-in-Docker ################################################
|
|
|
docker-in-docker:
|
|
|
image: docker:dind
|