Skip to content
Snippets Groups Projects
jupyter.yml 802 B
Newer Older
#
# Docker compose file that launches an interactive iTango session.
#
# Connect to the interactive session with 'docker attach itango'.
# Disconnect with the Docker deattach sequence: <CTRL>+<P> <CTRL>+<Q>
#
# Defines:
#   - itango: iTango interactive session
#
# Requires:
#   - tango.yml
#
version: '2'

services:
  jupyter:
    build:
        args:
            JUPYTER_WORKDIR: ${TANGO_LOFAR_CONTAINER_DIR}/jupyter-notebooks
    container_name: ${CONTAINER_NAME_PREFIX}jupyter
    network_mode: ${NETWORK_MODE}
    volumes:
        - ${TANGO_SKA_CONTAINER_MOUNT}
        - ${TANGO_LOFAR_CONTAINER_MOUNT}
        - ${HOME}:/hosthome
    environment:
      - TANGO_HOST=${TANGO_HOST}
      - XAUTHORITY=${XAUTHORITY}
      - DISPLAY=${DISPLAY}
    ports:
      - "8888:8888"