Skip to content

Commit

Permalink
refactor(docker-config): update naming from course_temp to nlp4ss
Browse files Browse the repository at this point in the history
… for consistency
  • Loading branch information
entelecheia committed Jul 8, 2024
1 parent 0835af6 commit 7396651
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 11 deletions.
4 changes: 2 additions & 2 deletions .copier-docker-config.yaml
Original file line number Diff line number Diff line change
@@ -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
Expand All @@ -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
Expand Down
2 changes: 1 addition & 1 deletion .docker/Dockerfile.base
Original file line number Diff line number Diff line change
Expand Up @@ -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}
Expand Down
12 changes: 6 additions & 6 deletions .docker/docker.base.env
Original file line number Diff line number Diff line change
Expand Up @@ -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
4 changes: 2 additions & 2 deletions .docker/docker.common.env
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 7396651

Please sign in to comment.