aboutsummaryrefslogtreecommitdiff
path: root/cluster/staging/app/plume/config/app.env
blob: 695073694dddec943c29bf062f3ad1b0bb321f55 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
BASE_URL=plume.staging.deuxfleurs.org
# generate one with openssl rand -base64 32
ROCKET_SECRET_KEY={{ key "secrets/plume/secret_key" | trimSpace }}

# Mail settings
#MAIL_SERVER=smtp.example.org
#MAIL_USER=example
#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-staging
S3_HOSTNAME={{ env "attr.unique.network.ip-address" }}:3990
S3_PROTOCOL=http
S3_PATH_STYLE=true

# DATABASE SETUP
DATABASE_URL=/ephemeral/plume.db
MIGRATION_DIRECTORY=migrations/sqlite

USE_HTTPS=0
ROCKET_ADDRESS=::
ROCKET_PORT={{ env "NOMAD_PORT_web_port" }}

MEDIA_UPLOAD_DIRECTORY=/app/static/media
SEARCH_INDEX=/app/search_index

LDAP_ADDR=ldap://bottin.service.staging.consul:389
LDAP_BASE_DN=ou=users,dc=staging,dc=deuxfleurs,dc=org
LDAP_USER_NAME_ATTR=cn
LDAP_USER_MAIL_ATTR=mail
LDAP_TLS=false

RUST_BACKTRACE=1
RUST_LOG=debug