forked from mirego/elixir-boilerplate
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.env.dev
50 lines (43 loc) · 1.97 KB
/
.env.dev
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
39
40
41
42
43
44
45
46
47
48
49
50
# -----------------------------------------------------------------------------
# This file contains all the environment variables needed (or supported) by the
# application. It is checked into version control so all developers can share
# it and use it as a base to build their own `.env.dev.local` file.
#
# Current project developers should try to fill the values with the most
# generic information possible for future developers.
#
# Personal values (such as access and secret keys) should *not* be stored in
# this file since they’re not shared among developers.
# -----------------------------------------------------------------------------
# Server configuration
CORS_ALLOWED_ORIGINS=*
DEBUG_ERRORS=true
PORT=4000
SECRET_KEY_BASE= # Generate secret with `mix phx.gen.secret`
SESSION_KEY=elixir_boilerplate
SESSION_SIGNING_SALT= # Generate salt with `mix phx.gen.secret`
# Database configuration
# - Use `postgres://localhost/elixir_boilerplate_dev` if you have a local PostgreSQL server
# - Use `postgres://username:password@localhost/elixir_boilerplate_dev` if you have a local PostgreSQL server with credentials
# - Use `postgres://postgres:development@localhost/elixir_boilerplate_dev` if you’re using the PostgreSQL server provided by Docker Compose
DATABASE_URL=postgres://localhost/elixir_boilerplate_dev
DATABASE_POOL_SIZE=20
# URL configuration (used by Phoenix to build URLs from routes)
# Other features also extracts values from this URL:
# - Redirect to canonical host
# - Force SSL requests
CANONICAL_URL=http://localhost:4000
# Static URL configuration (used by Phoenix to generate static file URLs, eg.
# CSS and JavaScript). We often use these variables to configure a CDN that
# will cache static files once they have been served by the Phoenix
# application.
# STATIC_URL=
# Basic Authentication
# BASIC_AUTH_USERNAME=
# BASIC_AUTH_PASSWORD=
# New Relic configuration
# NEW_RELIC_APP_NAME=
# NEW_RELIC_LICENSE_KEY=
# Sentry configuration
# SENTRY_DSN=
# SENTRY_ENVIRONMENT_NAME=dev