dont use S3 directly allow to use any document url (document service agnostic)
All checks were successful
Build and Publish / build-release (push) Successful in 1m30s

This commit is contained in:
2026-04-29 12:18:52 -05:00
parent 8782f957b0
commit d66a8805d0
16 changed files with 78 additions and 196 deletions

View File

@@ -21,21 +21,6 @@ config :logger, level: logger_level
config :logger, :console, format: {Logger.Formatter, :format}
s3_host = System.get_env("S3_HOST", "dev.s3.corredorconect.com")
s3_port = System.get_env("S3_PORT", "443")
config :ex_aws,
access_key_id: System.get_env("AWS_ACCESS_KEY_ID"),
secret_access_key: System.get_env("AWS_SECRET_ACCESS_KEY"),
region: System.get_env("AWS_REGION", "us-east-1")
config :ex_aws, :s3,
scheme: "https://",
host: s3_host,
port: s3_port
config :provider_service, :s3_bucket, System.get_env("S3_BUCKET", "provider-service")
cors_origin = System.get_env("CORS_ORIGIN", "*")
config :cors_plug,