From 560486bc50f5298d91706604339513f6840a2a18 Mon Sep 17 00:00:00 2001 From: Alex Auvolat Date: Mon, 15 May 2023 17:30:41 +0200 Subject: prod plume with s3 backend --- cluster/prod/app/plume/config/app.env | 11 +++++++++++ 1 file changed, 11 insertions(+) (limited to 'cluster/prod/app/plume/config/app.env') diff --git a/cluster/prod/app/plume/config/app.env b/cluster/prod/app/plume/config/app.env index b751bd6..b663d81 100644 --- a/cluster/prod/app/plume/config/app.env +++ b/cluster/prod/app/plume/config/app.env @@ -8,6 +8,17 @@ ROCKET_SECRET_KEY={{ key "secrets/plume/secret_key" | trimSpace }} #MAIL_PASSWORD=123456 #MAIL_HELO_NAME=example.org +# S3 settings +S3_BUCKET=plume +AWS_ACCESS_KEY_ID={{ key "secrets/plume/s3_access_key" | trimSpace }} +AWS_SECRET_ACCESS_KEY={{ key "secrets/plume/s3_secret_key" | trimSpace }} +S3_REGION=garage +S3_HOSTNAME={{ env "attr.unique.network.ip-address" }}:3900 +S3_PROTOCOL=http +S3_PATH_STYLE=true +S3_DIRECT_DOWNLOAD=true +S3_ALIAS_HOST=plume.web.deuxfleurs.fr + # DATABASE SETUP POSTGRES_PASSWORD={{ key "secrets/plume/pgsql_pw" | trimSpace }} POSTGRES_USER=plume -- cgit v1.2.3