diff options
author | Alex Auvolat <alex@adnab.me> | 2023-05-15 17:30:41 +0200 |
---|---|---|
committer | Alex Auvolat <alex@adnab.me> | 2023-05-15 17:30:41 +0200 |
commit | 560486bc50f5298d91706604339513f6840a2a18 (patch) | |
tree | c1285189401eb621a2a26e462bd00d867760955b /cluster/prod/app/plume/config | |
parent | 2488ad0ac296732eb7c3c9c3bc28e1e73f5b06bc (diff) | |
download | nixcfg-560486bc50f5298d91706604339513f6840a2a18.tar.gz nixcfg-560486bc50f5298d91706604339513f6840a2a18.zip |
prod plume with s3 backendplume-s3
Diffstat (limited to 'cluster/prod/app/plume/config')
-rw-r--r-- | cluster/prod/app/plume/config/app.env | 11 |
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 |