-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.env.example
More file actions
32 lines (25 loc) · 877 Bytes
/
.env.example
File metadata and controls
32 lines (25 loc) · 877 Bytes
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
# loopctl environment variables (Docker Compose)
# Copy to .env and fill in actual values.
# --- PostgreSQL superuser (used by the db container itself) ---
POSTGRES_USER=loopctl
POSTGRES_PASSWORD=change_me_to_a_strong_password
POSTGRES_DB=loopctl_prod
# --- Application database role (RLS enforced) ---
DB_APP_USER=loopctl_app
DB_APP_PASSWORD=loopctl_app_pass
# --- Admin database role (BYPASSRLS for superadmin operations) ---
DB_ADMIN_USER=loopctl_admin
DB_ADMIN_PASSWORD=loopctl_admin_pass
# --- Phoenix / Elixir secrets ---
# Generate with: mix phx.gen.secret
SECRET_KEY_BASE=
# Cloak encryption key for secrets at rest
# Generate with: elixir -e ':crypto.strong_rand_bytes(32) |> Base.encode64() |> IO.puts()'
CLOAK_KEY=
# --- Host configuration ---
PHX_HOST=loopctl.local
# --- Optional ---
# POOL_SIZE=10
# ADMIN_POOL_SIZE=3
# ECTO_IPV6=true
# DNS_CLUSTER_QUERY=