Agregar OPENAI_API_KEY al workflow y docker-compose
All checks were successful
build-and-deploy / build (push) Successful in 7s
build-and-deploy / deploy (push) Successful in 2s

Se agregó la variable de entorno OPENAI_API_KEY tanto en el workflow
como en docker-compose.yml para que el secret de Gitea se pase
correctamente al contenedor en producción.
This commit is contained in:
2025-10-13 15:33:23 -06:00
parent 4277a5000d
commit d236094fd8
2 changed files with 3 additions and 0 deletions

View File

@@ -38,6 +38,7 @@ jobs:
# Variables de entorno para docker-compose
APP_DOMAIN: ${{ vars.APP_DOMAIN }}
NUXT_PUBLIC_APP_URL: ${{ vars.NUXT_PUBLIC_APP_URL }}
OPENAI_API_KEY: ${{ secrets.OPENAI_API_KEY }}
steps:
- uses: actions/checkout@v3
- name: Login to registry

View File

@@ -12,6 +12,8 @@ services:
- NUXT_PORT=3000
# Public URL
- NUXT_PUBLIC_APP_URL=${NUXT_PUBLIC_APP_URL}
# OpenAI API Key
- OPENAI_API_KEY=${OPENAI_API_KEY}
networks:
- principal
- traefik-network