Working s3 compatible file uplaods!

This commit is contained in:
2026-03-30 14:28:44 -04:00
parent 6152dcdeea
commit 830ee36f84
16 changed files with 664 additions and 15 deletions

View File

@@ -10,7 +10,7 @@ import Config
config :waffle,
storage: Waffle.Storage.S3,
bucket: "mixer-bucket",
asset_host: "http://localhost:3901"
asset_host: "http://localhost:3900"
config :ex_aws,
json_codec: Jason

View File

@@ -91,3 +91,16 @@ config :phoenix_live_view,
# Disable swoosh api client as it is only required for production adapters.
config :swoosh, :api_client, false
# Local S3-compatible storage (MinIO or similar at localhost:3901)
# Adjust access_key_id / secret_access_key to match your local server's credentials
config :ex_aws,
access_key_id: "GKdea8f62997a90ffa664135d2",
secret_access_key: "dd2f1757661a9e68cae6928a2fc950a2b2fd03b229d71038c98d4713b40ebba2",
region: "garage"
config :ex_aws, :s3,
scheme: "http://",
host: "localhost",
port: 3900,
region: "garage"