feat(docker): add SITAR API environment variables and configure backend uploads volume
This commit is contained in:
@@ -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:
|
||||
|
||||
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user