-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathexample.env
More file actions
28 lines (22 loc) Β· 1.64 KB
/
example.env
File metadata and controls
28 lines (22 loc) Β· 1.64 KB
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
# Copy this file to app.env and fill in your values.
# Never commit app.env to version control.
# ββ Application βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
APP_NAME="MyApp"
PORT=":3000"
# ββ Database ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
# Supported engines: sqlite | postgres | mysql
DB_ENGINE=sqlite
DB_NAME=app.db
# For postgres/mysql set the full DSN here instead:
# DB_ENGINE=postgres
# DB_CONN=postgres://user:pass@localhost:5432/myapp?sslmode=disable
# ββ Auth ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
# CHANGE THESE IN PRODUCTION β use a long random string (e.g. `openssl rand -hex 32`)
JWT_SECRET=change-me-to-a-long-random-secret
JWT_EXPIRY=24
# ββ Flash Messages ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
FLASH_SECRET=change-me-to-another-long-random-secret
# ββ Goose (migrations CLI) ββββββββββββββββββββββββββββββββββββββββββββββββββββ
GOOSE_DRIVER=sqlite3
GOOSE_DBSTRING=app.db
GOOSE_MIGRATION_DIR=db/migrations