diff --git a/.gitea/workflows/deploy.yml b/.gitea/workflows/deploy.yml index 95924ab..b3fb89c 100644 --- a/.gitea/workflows/deploy.yml +++ b/.gitea/workflows/deploy.yml @@ -14,23 +14,19 @@ jobs: uses: actions/checkout@v3 - name: Docker Build - # Dockerfile'ı kullanarak imajı oluşturuyoruz - run: docker build -t backend-proje:latest . + run: docker build -t backend-haruncan-studio:latest . - name: Eski Konteyneri Sil - # İlk seferde hata vermemesi için '|| true' ekledik - run: docker rm -f backend-container || true + run: docker rm -f backend-haruncan-studio-container || true - name: Yeni Versiyonu Başlat - # Secrets kısmından şifreleri alıp konteynere veriyoruz run: | docker run -d \ - --name backend-container \ + --name backend-haruncan-studio-container \ --restart always \ --network gitea-server_gitea \ - -p 1501:3000 \ + -p 1809:3000 \ -e DATABASE_URL='${{ secrets.DATABASE_URL }}' \ -e JWT_SECRET='${{ secrets.JWT_SECRET }}' \ - -e REDIS_HOST='${{ secrets.REDIS_HOST }}' \ - -e REDIS_PORT='6379' \ - backend-proje:latest \ No newline at end of file + -e NODE_ENV='production' \ + backend-haruncan-studio:latest \ No newline at end of file diff --git a/src/main.ts b/src/main.ts index edd6a3c..f66263d 100644 --- a/src/main.ts +++ b/src/main.ts @@ -56,9 +56,9 @@ async function bootstrap() { // Swagger setup const swaggerConfig = new DocumentBuilder() - .setTitle('TypeScript Boilerplate API') + .setTitle('HarunCAN Studio API') .setDescription( - 'Senior-level NestJS backend boilerplate with generic CRUD, authentication, i18n, and Redis caching', + 'HarunCAN Studio backend API - NestJS with authentication, i18n, and PostgreSQL', ) .setVersion('1.0') .addBearerAuth()