🎉: init project

This commit is contained in:
loveuer
2024-07-11 16:37:26 +08:00
commit c46458c6f2
159 changed files with 19246 additions and 0 deletions

8
deployment/run.sh Normal file
View File

@ -0,0 +1,8 @@
#/bin/bash
VERSION="v$(date +'%y.%m.%d')-r1"
echo "version: $VERSION"
docker build -t repository.umisen.com/{project_folder}/{project_name}:$VERSION -f Dockerfile .
docker push repository.umisen.com/{project_folder}/{project_name}:$VERSION
docker start -d --name {your_project_name} --restart unless-stopped -p xx_port:xx_port -v xx_path:xx_path repository.umisen.com/{project_folder}/{project_name}:$VERSION