You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 

49 lines
1.1 KiB

  1. version: "3"
  2. services:
  3. jupyter:
  4. image: jupyter/tensorflow-notebook:7f1482f5a136
  5. container_name: jupyter-iss
  6. command: start.sh jupyter lab --NotebookApp.base_url=/jupyter --NotebookApp.token='' --NotebookApp.password=''
  7. networks:
  8. - netproxy
  9. - default
  10. volumes:
  11. - "${PWD}:/home/jovyan/work"
  12. labels:
  13. - "traefik.enable=true"
  14. - "traefik.frontend.rule=Host:iss.docker.lo;PathPrefix: /jupyter"
  15. - "traefik.port=8888"
  16. adminer:
  17. image: adminer:4.7
  18. container_name: adminer-iss
  19. networks:
  20. - netproxy
  21. - default
  22. labels:
  23. - "traefik.enable=true"
  24. - "traefik.frontend.rule=Host:iss.docker.lo;PathPrefix: /adminer"
  25. - "traefik.port=8080"
  26. - "traefik.main.frontend.entryPoints=http"
  27. mysql:
  28. image: mysql:8
  29. container_name: mysql-iss
  30. networks:
  31. - default
  32. volumes:
  33. - "${PWD}/mysql:/var/lib/mysql"
  34. environment:
  35. MYSQL_DATABASE: iss
  36. MYSQL_ROOT_PASSWORD: pass
  37. MYSQL_USER: iss
  38. MYSQL_PASSWORD: iss
  39. labels:
  40. - "traefik.enable=false"
  41. networks:
  42. netproxy:
  43. external:
  44. name: netproxy