Fakultas Ilmu Komputer UI

Commit cb5c8cff authored by Muhammad Rafif Elfazri's avatar Muhammad Rafif Elfazri
Browse files

Add details to generate-several ENV variables

parent b17eee4c
......@@ -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
......
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
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment