diff --git a/.gitea/workflows/deploy.yml b/.gitea/workflows/deploy.yml index aeda8a2..bf7c22d 100644 --- a/.gitea/workflows/deploy.yml +++ b/.gitea/workflows/deploy.yml @@ -34,6 +34,7 @@ jobs: docker run -d \ --name hotelsync-frontend \ --network hotelsync_hotelsync-net \ + --network-alias frontend \ --restart unless-stopped \ hotelsync-frontend:latest echo "✅ Frontend started" @@ -45,10 +46,14 @@ jobs: docker run -d \ --name hotelsync-cp \ --network hotelsync_hotelsync-net \ + --network-alias cp \ --restart unless-stopped \ hotelsync-cp:latest echo "✅ CP started" + - name: Reload nginx + run: docker exec hotelsync-nginx nginx -s reload + - name: Health check run: | sleep 3