Merge pull request 'feat(docker): add SITAR API environment variables and configure backend uploads volume' (#88) from feature/backend_uploads into development

Reviewed-on: ADUANASOFT/anexo76#88
This commit is contained in:
2026-01-23 20:01:37 +00:00
2 changed files with 10 additions and 1 deletions

View File

@@ -159,6 +159,9 @@ services:
- KEYCLOAK_CLIENT_ID=${KEYCLOAK_CLIENT_ID:-anexo76-backend}
- KEYCLOAK_CLIENT_SECRET=${KEYCLOAK_CLIENT_SECRET:-dev-secret}
- CORS_ORIGINS=${CORS_ORIGINS:-https://anexo76-dev.aduanasoft.com,http://localhost:3000}
- SITAR_API_URL=${SITAR_API_URL}
- SITAR_API_USER=${SITAR_API_USER}
- SITAR_API_PASSWORD=${SITAR_API_PASSWORD}
ports:
- "3467:8000"
depends_on:
@@ -166,7 +169,8 @@ services:
condition: service_healthy
keycloak:
condition: service_healthy
volumes:
volumes:
- backend_uploads:/app/uploads
- ./scripts/backend-entrypoint.sh:/entrypoint.sh:ro
networks:
- backend-net
@@ -286,6 +290,8 @@ volumes:
driver: local
backend_cache:
driver: local
backend_uploads:
driver: local
networks:
backend-net:

View File

@@ -188,6 +188,7 @@ services:
volumes:
- ./backend:/app
- backend_cache:/app/__pycache__
- backend_uploads:/app/uploads
- ./scripts/backend-entrypoint.sh:/entrypoint.sh:ro
networks:
- backend-net
@@ -298,6 +299,8 @@ volumes:
driver: local
backend_cache:
driver: local
backend_uploads:
driver: local
networks:
backend-net: