2025-11-28 22:14:45 -05:00
|
|
|
# Database Configuration
|
|
|
|
|
POSTGRES_USER=postgres
|
|
|
|
|
POSTGRES_PASSWORD=postgres
|
|
|
|
|
POSTGRES_DB=my_first_elixir_vibe_code_dev
|
|
|
|
|
|
|
|
|
|
# Phoenix Configuration
|
|
|
|
|
DATABASE_URL=ecto://postgres:postgres@db/my_first_elixir_vibe_code_dev
|
2025-11-29 00:21:51 -05:00
|
|
|
SECRET_KEY_BASE=CHANGE_ME_IN_PRODUCTION
|
2025-11-28 22:14:45 -05:00
|
|
|
PHX_HOST=localhost
|
|
|
|
|
PORT=4000
|
|
|
|
|
|
2025-11-29 00:21:51 -05:00
|
|
|
# Important:
|
|
|
|
|
# 1. Copy this file to .env and update the values for your environment
|
|
|
|
|
# 2. For production, generate a new SECRET_KEY_BASE with:
|
|
|
|
|
# docker-compose run --rm web bin/my_first_elixir_vibe_code eval "IO.puts(:crypto.strong_rand_bytes(64) |> Base.encode64())"
|
|
|
|
|
# or locally with: mix phx.gen.secret
|
|
|
|
|
# 3. Update PHX_HOST to your production domain (e.g., ratemyclient.sivic.me)
|