aboutsummaryrefslogtreecommitdiff
path: root/cluster/prod/app/plume/config
diff options
context:
space:
mode:
authorAlex Auvolat <alex@adnab.me>2023-05-15 17:30:41 +0200
committerAlex Auvolat <alex@adnab.me>2023-05-15 17:30:41 +0200
commit560486bc50f5298d91706604339513f6840a2a18 (patch)
treec1285189401eb621a2a26e462bd00d867760955b /cluster/prod/app/plume/config
parent2488ad0ac296732eb7c3c9c3bc28e1e73f5b06bc (diff)
downloadnixcfg-plume-s3.tar.gz
nixcfg-plume-s3.zip
prod plume with s3 backendplume-s3
Diffstat (limited to 'cluster/prod/app/plume/config')
-rw-r--r--cluster/prod/app/plume/config/app.env11
1 files changed, 11 insertions, 0 deletions
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