Skip to content
This repository was archived by the owner on Oct 25, 2024. It is now read-only.

Mireu-Lab/Jupyter-Container

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 

Repository files navigation

Docker Jupyter Container

Proxy Container

  proxy:
    image: registry.gitlab.com/mireu-lab/docker-jupyter-container:containernetwork
    restart: always
    container_name: Proxy-Container
    environment:
      - VIRTUAL_HOST=test2.container.mireu.xyz
      - ProxyURL=0.0.0.0
      - WebProxyPort=8080
    depends_on:
      - ubuntu_jupyter
      - fedora_jupyter

Dev Container

Debian Container

  debian_jupyter:
    image: registry.gitlab.com/mireu-lab/docker-jupyter-container:containerjupyterdebian
    restart: always
    container_name: Jupyter-Debian-Container
    volumes:
      - Container_Jupyter:/workspace
    ports:
      - "8081:8888"
    depends_on:
      - datebase_mongo
      - datebase_mariadb
      - datebase_mysql
      - schema_redis

Ubuntu Container

  ubuntu_jupyter:
    image: registry.gitlab.com/mireu-lab/docker-jupyter-container:containerjupyterubuntu
    restart: always
    container_name: Jupyter-Ubuntu-Container
    volumes:
      - Container_Jupyter:/workspace
    ports:
      - "8081:8888"
    depends_on:
      - datebase_mongo
      - datebase_mariadb
      - datebase_mysql
      - schema_redis

Fedora Container

  fedora_jupyter:
    image: registry.gitlab.com/mireu-lab/docker-jupyter-container:containerjupyterfedora
    restart: always
    container_name: Jupyter-Fedora-Container
    volumes:
      - Container_Jupyter:/workspace
    ports:
      - "8082:8888"
    depends_on:
      - datebase_mongo
      - datebase_mariadb
      - datebase_mysql
      - schema_redis

RockyLinux Container

  fedora_jupyter:
    image: registry.gitlab.com/mireu-lab/docker-jupyter-container:containerjupyterfedora
    restart: always
    container_name: Jupyter-Fedora-Container
    volumes:
      - Container_Jupyter:/workspace
    ports:
      - "8082:8888"
    depends_on:
      - datebase_mongo
      - datebase_mariadb
      - datebase_mysql
      - schema_redis

Dev GPU Container

Ubuntu Container

  gpu_ubuntu_jupyter:
    image: registry.gitlab.com/container-images4/docker-jupyter-container:gpucontainerjupyterubuntu
    restart: always
    container_name: GPU-Jupyter-Ubuntu-Container
    deploy:
      resources:
        reservations:
          devices:
          - driver: nvidia
            count: 0
            capabilities: [gpu, utility]
    volumes:
      - Container_Jupyter:/workspace
    ports:
      - "8805:8888"
    depends_on:
      - datebase_mongo
      - datebase_mariadb
      - datebase_mysql
      - schema_redis

CentOS Container

  gpu_centos_jupyter:
    image: registry.gitlab.com/container-images4/docker-jupyter-container:gpucontainerjupytercentos
    restart: always
    container_name: GPU-Jupyter-CentOS-Container
    deploy:
      resources:
        reservations:
          devices:
          - driver: nvidia
            count: 0
            capabilities: [gpu, utility]
    volumes:
      - Container_Jupyter:/workspace
    ports:
      - "8806:8888"
    depends_on:
      - datebase_mongo
      - datebase_mariadb
      - datebase_mysql
      - schema_redis

RockyLinux Container

  gpu_rockylinux_jupyter:
    image: registry.gitlab.com/container-images4/docker-jupyter-container:gpucontainerjupyterrockylinux
    restart: always
    container_name: GPU-Jupyter-RockyLinux-Container
    deploy:
      resources:
        reservations:
          devices:
          - driver: nvidia
            count: 0
            capabilities: [gpu, utility]
    volumes:
      - Container_Jupyter:/workspace
    ports:
      - "8807:8888"
    depends_on:
      - datebase_mongo
      - datebase_mariadb
      - datebase_mysql
      - schema_redis

DataBase Container

MongoDB Container

  datebase_mongo:
    image: mongo
    restart: always
    container_name: Jupyter-MongoDB
    volumes:
      - Container_Datebase_MongoDB:/data/db
    environment:
      MONGO_INITDB_ROOT_USERNAME: root
      MONGO_INITDB_ROOT_PASSWORD: Jupyter

MariaDB Container

  datebase_mariadb:
    image: mariadb
    restart: always
    container_name: Jupyter-MariaDB
    volumes:
      - Container_Datebase_MariaDB:/var/lib/maria
    environment:
      MARIADB_ROOT_PASSWORD: Jupyter

MySQL Container

  datebase_mysql:
    image: mysql
    restart: always
    container_name: Jupyter-MySQL
    command: --default-authentication-plugin=mysql_native_password
    volumes:
      - Container_Datebase_MySQL:/var/lib/mysql
    environment:
      MYSQL_ROOT_PASSWORD: Jupyter

PostgresDB Container

detebase_postgres:
    image: postgres
    restart: always
    container_name: Jupyter-PostgresDB
    volumes:
      - Container_Datebase_PostgresDB:/var/lib/postgresql/data
    environment:
      POSTGRES_PASSWORD: Jupyter

Redis Container

  schema_redis:
    image: redis:alpine
    restart: always
    container_name: Jupyter-Redis
    command: redis-server --port 6379
    volumes:
      - Container_Schema_Redis:/data
    labels:
      - "name=redis"
      - "mode=standalone"

Container Volume

Jupyter Container는 하나의 스토리지로 묶어 다른 컨테이너에서도 동작시킬수있게 구현하였다.

volumes:
  Container_Jupyter:
  Container_Datebase_MySQL:
  Container_Datebase_MariaDB:
  Container_Datebase_MongoDB:
  Container_Datebase_PostgresDB:
  Container_Schema_Redis:

About

Jupyter Lab Container

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published