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.

55 lines
1.3KB

  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='' --NotebookApp.disable_check_xsrf=True
  7. user: root
  8. networks:
  9. - netproxy
  10. - default
  11. volumes:
  12. - "${PWD}:/home/jovyan/work"
  13. labels:
  14. - "traefik.enable=true"
  15. - "traefik.frontend.rule=Host:iss.docker.lo;PathPrefix: /jupyter"
  16. - "traefik.port=8888"
  17. environment:
  18. - NB_GID=1000
  19. - NB_USER=jovyan
  20. ports:
  21. - 127.0.0.1:3000:3000
  22. adminer:
  23. image: adminer:4.7
  24. container_name: adminer-iss
  25. networks:
  26. - netproxy
  27. - default
  28. labels:
  29. - "traefik.enable=true"
  30. - "traefik.frontend.rule=Host:iss.docker.lo;PathPrefix: /adminer"
  31. - "traefik.port=8080"
  32. - "traefik.main.frontend.entryPoints=http"
  33. mysql:
  34. image: mysql:8
  35. container_name: mysql-iss
  36. networks:
  37. - default
  38. volumes:
  39. - "${PWD}/mysql:/var/lib/mysql"
  40. environment:
  41. MYSQL_DATABASE: iss
  42. MYSQL_ROOT_PASSWORD: pass
  43. MYSQL_USER: iss
  44. MYSQL_PASSWORD: iss
  45. labels:
  46. - "traefik.enable=false"
  47. networks:
  48. netproxy:
  49. external:
  50. name: netproxy