-
Notifications
You must be signed in to change notification settings - Fork 3
/
.env.example
32 lines (26 loc) · 1.29 KB
/
.env.example
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
#
# This configuration file is used to configure the backend of the application.
#
# To use this file, copy it to `.env` and fill in the values, some of which
# have been pre-filled with default values for development.
#
# Root-most origin, used for cookies, all subdomains will be able to access this cookie.
# This should be the same as `PUBLIC_FRONTEND_URL`, but without the path.
ROOT_ORIGIN=https://vsekai.local
# Public URLs, used for redirects, etc, must be publicly accessible.
# Both of these must be either a subdomain or the same domain as `PUBLIC_ROOT_ORIGIN`.
URL=https://vsekai.local/api/v1/
FRONTEND_URL=https://vsekai.local/
# Persistent storage connections.
DATABASE_URL=postgresql://vsekai:vsekai@database:5432/vsekai
REDIS_URL=redis://redis:6379
# Signing keys, and other tokens used for security, you should generate these yourself.
# You can generate a key with `mix phx.gen.secret`, https://randomkeygen.com/ or similar.
# At minimum, these should be 256-bits of entropy.
PHOENIX_KEY_BASE=bNDe+pg86uL938fQA8QGYCJ4V7fE5RAxoQ8grq9drPpO7mZ0oEMSNapKLiA48smR
JOKEN_SIGNER=gqawCOER09ZZjaN8W2QM9XT9BeJSZ9qc
# Cloudflare Turnstile, a reCaptcha alternative, leave empty to disable.
# https://developers.cloudflare.com/turnstile/get-started/
TURNSTILE_SECRET_KEY=
# Miscellaneous settings.
PORT=4000