diff --git a/Jenkinsfile b/Jenkinsfile index 2001024d..53faac86 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -311,9 +311,9 @@ pipeline { usernameVariable: 'E2E_USER', passwordVariable: 'E2E_PASS' ), - string(credentialsId: 'a76-sitar-api-url', variable: 'SITAR_API_URL'), + string(credentialsId: 'sitar-api-url', variable: 'SITAR_API_URL'), usernamePassword( - credentialsId: 'a76-sitar-credentials', + credentialsId: 'sitar-credentials', usernameVariable: 'SITAR_API_USER', passwordVariable: 'SITAR_API_PASSWORD' ) diff --git a/README.md b/README.md index 51d6b6a8..929189d5 100644 --- a/README.md +++ b/README.md @@ -151,9 +151,10 @@ docker build -t dev.aduanasoft.com/anexo76/backend:latest -f ./backend/Dockerfil **Importación CSV y workers Celery**: La lógica de cargas por CSV está en `api/v1/modules/a76/layouts_csv/` (una carpeta por proceso). Los workers Celery deben cargar los módulos `api.v1.modules.a76.layouts_csv..tasks`. El directorio de trabajo del worker debe ser la raíz del backend para que `layout_path("imports", "temp")` y `layout_path("imports", "errors")` apunten a los mismos directorios que la API. Si API y worker comparten volumen, los archivos temporales y de errores se escriben en `backend/layouts/imports/temp` y `backend/layouts/imports/errors`. ``` +docker build -t dev.aduanasoft.com/anexo76/backend:latest -f ./backend/Dockerfile ./backend docker build \ ---build-arg VITE_API_URL=http://10.47.80.196:3467/api/ \ ---build-arg VITE_KEYCLOAK_URL=http://10.47.80.196/kcauth/ \ +--build-arg VITE_API_URL=https://anexo76-dev.aduanasoft.com/api/ \ +--build-arg VITE_KEYCLOAK_URL=https://anexo76-dev.aduanasoft.com/kcauth/ \ --build-arg INTERNAL_API_URL=http://backend:3467/api/ \ -t dev.aduanasoft.com/anexo76/frontend:latest \ -f ./frontend/Dockerfile.prod \