Fakultas Ilmu Komputer UI
Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Functional Programming
Diskuy-Backend
Commits
cb5c8cff
Commit
cb5c8cff
authored
Feb 20, 2021
by
Muhammad Rafif Elfazri
Browse files
Add details to generate-several ENV variables
parent
b17eee4c
Changes
2
Hide whitespace changes
Inline
Side-by-side
README.md
View file @
cb5c8cff
...
...
@@ -31,8 +31,8 @@ Sudah ready untuk dijalankan di production? Mohon [lihat deployment guide beriku
2. Isi Environment Variable pada ``` config/docker.env``` sesuai dengan Environtment yang sudah disediakan.
```
shell
SECRET_KEY_BASE=REALLY_LONG_SECRET
GUARDIAN_SECRET_KEY_BASE=REALLY_LONG_SECRET
SECRET_KEY_BASE=REALLY_LONG_SECRET
## Generate it with "mix phx.gen.secret"
GUARDIAN_SECRET_KEY_BASE=REALLY_LONG_SECRET
## Generate it with "guardian phx.gen.secret"
DATABASE_HOST=db
DATABASE_URL=ecto://postgres:postgres@db/postgres
PORT=4000
...
...
config/docker.env
View file @
cb5c8cff
SECRET_KEY_BASE=REALLY_LONG_SECRET
GUARDIAN_SECRET_KEY_BASE=REALLY_LONG_SECRET
SECRET_KEY_BASE=REALLY_LONG_SECRET
## Generate it with "mix phx.gen.secret"
GUARDIAN_SECRET_KEY_BASE=REALLY_LONG_SECRET
## Generate it with "guardian phx.gen.secret"
DATABASE_HOST=db
DATABASE_URL=ecto://postgres:postgres@db/postgres
PORT=4000
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment