Add Ipython (#1685)
This commit is contained in:

committed by
Shao Yu-Lung (Allen)

parent
85c57a0b6f
commit
29483bab8c
@ -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
|
||||
|
Reference in New Issue
Block a user