jupyterhub / jupyterhub-deploy-docker

Reference deployment of JupyterHub with docker
BSD 3-Clause "New" or "Revised" License
701 stars 368 forks source link

Q: How to add additional network via docker-compose.yml? #114

Closed Dmfama20 closed 2 years ago

Dmfama20 commented 2 years ago

Hi, I tried to add an additional network via docker-compose.yml. So I added the lines

 networks:
      - web

and

networks:
  web:
    external: true
  default:
    external:
      name: ${DOCKER_NETWORK_NAME}

Unfortunately, this seems to override the standard docker-hub-network such that docker-hub is not able to connect to the db. So, how is it possible to add an additional network? (Background: I want to run docker-hub behind my reverse-proxy (traefik), which uses the network "web") TIA! Alex

welcome[bot] commented 2 years ago

Thank you for opening your first issue in this project! Engagement like this is essential for open source projects! :hugs:
If you haven't done so already, check out Jupyter's Code of Conduct. Also, please try to follow the issue template as it helps other other community members to contribute more effectively. welcome You can meet the other Jovyans by joining our Discourse forum. There is also an intro thread there where you can stop by and say Hi! :wave:
Welcome to the Jupyter community! :tada: