Skip to content

Commit

Permalink
fix: updated run command
Browse files Browse the repository at this point in the history
  • Loading branch information
thguss committed Sep 9, 2024
1 parent 07d5369 commit 542d8cb
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions script/deploy.sh
Original file line number Diff line number Diff line change
Expand Up @@ -19,9 +19,10 @@ if [ "$(sudo docker ps -a -q -f name=${CONTAINER_NAME})" ]; then
fi

echo "> Run docker"
sudo docker run -d --name ${CONTAINER_NAME} -p 80:8080 "${REGISTRY_URL}"/"${IMAGE_NAME}":${TAG} \
sudo docker run -d --name ${CONTAINER_NAME} -p 80:8080 \
-e SECRET_MANAGER_TOKEN="${SECRET_MANAGER_TOKEN}" \
-e SECRET_MANAGER_WORKSPACE_ID="${SECRET_MANAGER_WORKSPACE_ID}"
-e SECRET_MANAGER_WORKSPACE_ID="${SECRET_MANAGER_WORKSPACE_ID}" \
"${REGISTRY_URL}"/"${IMAGE_NAME}":${TAG}

echo "----------------------------------------------------------------------"

Expand Down

0 comments on commit 542d8cb

Please sign in to comment.