diff --git a/.copier-docker-config.yaml b/.copier-docker-config.yaml index b3d83c7..c2403db 100644 --- a/.copier-docker-config.yaml +++ b/.copier-docker-config.yaml @@ -1,7 +1,7 @@ # Changes here will be overwritten by Copier; do NOT edit manually _commit: v0.31.0 _src_path: gh:entelecheia/hyperfast-docker-template -app_dirname: course_temp +app_dirname: nlp4ss app_install_root: /workspace author: Young Joon Lee build_images_from_dockerfile: true @@ -15,7 +15,7 @@ docker_container_uid: 9001 docker_container_username: dev docker_image_variant_name: base docker_image_version_variable_name: IMAGE_VERSION -docker_name_prefix: COURSE_TEMP +docker_name_prefix: NLP4SS docker_project_name: nlp4ss docker_registry: ghcr.io docker_run_command: zsh diff --git a/.docker/Dockerfile.base b/.docker/Dockerfile.base index b491f61..3568241 100644 --- a/.docker/Dockerfile.base +++ b/.docker/Dockerfile.base @@ -13,7 +13,7 @@ ENV PYTHONUNBUFFERED 1 # Setting ARGs and ENVs for the app ARG ARG_APP_INSTALL_ROOT="/workspace" -ARG ARG_APP_DIRNAME="course_temp" +ARG ARG_APP_DIRNAME="nlp4ss" ENV APP_INSTALL_ROOT $ARG_APP_INSTALL_ROOT ENV APP_DIRNAME $ARG_APP_DIRNAME ENV APP_SRC_DIR=${APP_INSTALL_ROOT}/${APP_DIRNAME} diff --git a/.docker/docker.base.env b/.docker/docker.base.env index d911300..1515443 100644 --- a/.docker/docker.base.env +++ b/.docker/docker.base.env @@ -18,12 +18,12 @@ BUILD_FROM="ghcr.io/entelecheia/devcon:latest-cuda-12.1.0-ubuntu22.04" # docker run: Configuration parameters for running the Docker container CONTAINER_LAUNCH_SCRIPT="${CONTAINER_WORKSPACE_ROOT}/scripts/launch.sh" # The name of the launch script -CONTAINER_CUDA_DEVICE_ID=${COURSE_TEMP_CUDA_DEVICE_ID:-"6"} # The ID of the CUDA device to use, e.g. all, 0, 1, 2, etc. +CONTAINER_CUDA_DEVICE_ID=${NLP4SS_CUDA_DEVICE_ID:-"6"} # The ID of the CUDA device to use, e.g. all, 0, 1, 2, etc. CONTAINER_SSH_PORT=${SSH_PORT:-"22"} # The SSH port in the Docker container -HOST_SSH_PORT=${COURSE_TEMP_HOST_SSH_PORT:-"2341"} # The SSH port on the host machine to be mapped to the container's SSH port +HOST_SSH_PORT=${NLP4SS_HOST_SSH_PORT:-"2341"} # The SSH port on the host machine to be mapped to the container's SSH port CONTAINER_JUPYTER_PORT=${JUPYTER_PORT:-"8585"} # The Jupyter port in the Docker container -HOST_JUPYTER_PORT=${COURSE_TEMP_HOST_JUPYTER_PORT:-"19871"} # The Jupyter port on the host machine to be mapped to the container's Jupyter port -CONTAINER_JUPYTER_TOKEN=${COURSE_TEMP_JUPYTER_TOKEN:-""} # The Jupyter token to use -CONTAINER_SERVICE_NAME=${COURSE_TEMP_SERVICE_NAME:-"app"} # The server name (optional, can be left empty) +HOST_JUPYTER_PORT=${NLP4SS_HOST_JUPYTER_PORT:-"19871"} # The Jupyter port on the host machine to be mapped to the container's Jupyter port +CONTAINER_JUPYTER_TOKEN=${NLP4SS_JUPYTER_TOKEN:-""} # The Jupyter token to use +CONTAINER_SERVICE_NAME=${NLP4SS_SERVICE_NAME:-"app"} # The server name (optional, can be left empty) CONTAINER_WEB_SVC_PORT=${WEB_SVC_PORT:-"8080"} # The Web service port in the Docker container -HOST_WEB_SVC_PORT=${COURSE_TEMP_HOST_WEB_SVC_PORT-"18761"} # The Web service port on the host machine to be mapped to the container's Web service port +HOST_WEB_SVC_PORT=${NLP4SS_HOST_WEB_SVC_PORT-"18761"} # The Web service port on the host machine to be mapped to the container's Web service port diff --git a/.docker/docker.common.env b/.docker/docker.common.env index 56ec9b2..1554069 100644 --- a/.docker/docker.common.env +++ b/.docker/docker.common.env @@ -2,8 +2,8 @@ # Configuration parameters for the docker project # # Change the variables below to your need: # ######################################################### -APP_INSTALL_ROOT=${COURSE_TEMP_INSTALL_ROOT:-"/workspace"} # The directory in the container where the project will be installed or cloned -APP_DIRNAME=${COURSE_TEMP_DIRNAME:-"course_temp"} # The directory name for the cloned project +APP_INSTALL_ROOT=${NLP4SS_INSTALL_ROOT:-"/workspace"} # The directory in the container where the project will be installed or cloned +APP_DIRNAME=${NLP4SS_DIRNAME:-"nlp4ss"} # The directory name for the cloned project APP_SRC_DIR=${APP_INSTALL_ROOT}/${APP_DIRNAME} APP_VIRTUAL_ENV=${APP_INSTALL_ROOT}/.venvs/${APP_DIRNAME} APP_WORKSPACE_ROOT=${APP_INSTALL_ROOT}/workspace