Skip to content

Commit

Permalink
feat(docker): add container registry
Browse files Browse the repository at this point in the history
  • Loading branch information
entelecheia committed Aug 21, 2023
1 parent 4dc6890 commit a87d022
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions .docker/docker.base.env
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ APP_PROJECT_ROOT="/workspace/projects" # The directory in the container where th
APP_CUDA_DEVICE_ID="0" # The ID of the CUDA device to use
APP_HOST_SSH_PORT="2020" # The SSH port on the host machine to be mapped to the container's SSH port
APP_HOST_WEB_SVC_PORT="18880" # The Web service port on the host machine to be mapped to the container's Web service port
CONTAINTER_REGISTRY="ghcr.io" # The Docker registry to push the image to. If not set, the image will not be pushed.

#######################################################################################
# Please do not make any changes below this line if you don't know what you are doing #
Expand All @@ -19,8 +20,8 @@ VERSION=${APP_VERSION:-"1.0.0"} # The version of the Docker im
VARIANT=${APP_VARIANT:-"base"} # The variant of the Docker image. If not set, "runtime" will be used.
USERNAME=${USERNAME:-"app"} # The username in the Docker container. If not set, the current user's username will be used.
DOCKER_USERNAME=${DOCKER_USERNAME:-"entelecheia"} # The username for Docker. If not set, the current user's username will be used.
USER_UID=${USER_UID:-"1001"} # The user ID in the Docker container. If not set, the current user's ID will be used.
USER_GID=${USER_GID:-"1001"} # The group ID in the Docker container. If not set, the current user's group ID will be used.
USER_UID=${USER_UID:-"9001"} # The user ID in the Docker container. If not set, the current user's ID will be used.
USER_GID=${USER_GID:-"9001"} # The group ID in the Docker container. If not set, the current user's group ID will be used.
SYSTEM_HOSTNAME=${SYSTEM_HOSTNAME:-"$(hostname)"} # The hostname of the Docker container. If not set, the system's hostname will be used.

IMAGE_TAG="${VERSION}" # The tag of the Docker image
Expand Down

0 comments on commit a87d022

Please sign in to comment.