Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
C
chatbot_canifa_test_conservation_tools
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Vũ Hoàng Anh
chatbot_canifa_test_conservation_tools
Commits
f7953c65
Commit
f7953c65
authored
Dec 29, 2025
by
Vũ Hoàng Anh
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ci: remove volumes and force replace container to fix html update
parent
1f56f9ce
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
9 additions
and
5 deletions
+9
-5
.gitlab-ci.yml
.gitlab-ci.yml
+7
-3
docker-compose.yml
backend/docker-compose.yml
+2
-2
No files found.
.gitlab-ci.yml
View file @
f7953c65
...
...
@@ -5,11 +5,15 @@ deploy_to_server:
stage
:
deploy
# Chế độ shell chạy trực tiếp trên host
script
:
-
echo "🚀 Bắt đầu quá trình Deploy
từ Runner Pat
h..."
-
echo "🚀 Bắt đầu quá trình Deploy
Sạc
h..."
-
export DOCKER_BUILDKIT=1
-
"
if
[
-f
/home/anhvh/canifa_soure/chatbot-canifa/backend/.env
];
then
cp
/home/anhvh/canifa_soure/chatbot-canifa/backend/.env
backend/.env;
fi"
-
cd backend
-
docker compose up --build -d
-
echo "✅ Deploy thành công rực rỡ!"
-
# "Giết" sạch tất cả các bản cũ (kể cả bản bro chạy tay hay bản runner cũ)
-
docker stop canifa_backend ||
true
-
docker rm -f canifa_backend ||
true
-
docker compose -p canifa-chatbot down --remove-orphans ||
true
-
docker compose -p canifa-chatbot up --build -d
-
echo "✅ Web ĐÃ CẬP NHẬT THÀNH CÔNG!"
only
:
-
master
backend/docker-compose.yml
View file @
f7953c65
...
...
@@ -6,8 +6,8 @@ services:
env_file
:
.env
ports
:
-
"
5000:5000"
volumes
:
-
.:/app
#
volumes:
#
- .:/app
environment
:
-
PORT=5000
restart
:
unless-stopped
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment