f
All checks were successful
Deploy Production / deploy (push) Successful in 27s

This commit is contained in:
Заид Омар Медхат 2025-12-26 00:44:29 +05:00
parent 754267e6ce
commit 5aba4137c3
2 changed files with 4 additions and 11 deletions

View File

@ -11,18 +11,14 @@ jobs:
runs-on: docker runs-on: docker
container: container:
image: docker:latest image: docker:latest
volumes:
- /opt/apps/api-finance:/app
steps: steps:
- name: Install git - name: Install git
run: apk add --no-cache git run: apk add --no-cache git
- name: Pull latest code - name: Clone repository
run: | run: git clone --depth 1 https://git.ai-assistant-bot.xyz/root/finance-api.git .
cd /app
git pull origin main || git clone --depth 1 https://git.ai-assistant-bot.xyz/root/finance-api.git .
- name: Build & Deploy - name: Build & Deploy
run: | run: |
cd /app docker compose -f docker-compose.server.yml build
docker compose -f docker-compose.server.yml up -d --build docker compose -f docker-compose.server.yml up -d

View File

@ -33,9 +33,6 @@ services:
- traefik.http.routers.api-finance.tls.certresolver=le - traefik.http.routers.api-finance.tls.certresolver=le
- traefik.http.services.api-finance.loadbalancer.server.port=3000 - traefik.http.services.api-finance.loadbalancer.server.port=3000
volumes:
postgres_data:
networks: networks:
proxy: proxy:
external: true external: true