forked from LondheShubham153/devboard
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.env.example
More file actions
35 lines (32 loc) · 1.65 KB
/
Copy path.env.example
File metadata and controls
35 lines (32 loc) · 1.65 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
29
30
31
32
33
34
35
# ─────────────────────────────────────────────────────────────────────────
# DevBoard environment variables — TEMPLATE
#
# Copy this file to `.env` (or run `make setup`) and adjust as needed:
#
# cp .env.example .env
#
# Docker Compose loads `.env` automatically and substitutes the ${VAR}
# placeholders in docker-compose.yml — so this file is the single source of
# truth for what gets injected into the db and the backend.
#
# `.env` is gitignored (it can hold real secrets in a real project); this
# committed `.env.example` documents which variables exist. The values below
# are safe local demo defaults.
# ─────────────────────────────────────────────────────────────────────────
# --- Postgres ---
# Injected into the postgres container, and reused to build the backend's
# POSTGRES_URL (see docker-compose.yml) so the credentials live in one place.
POSTGRES_USER=devboard
POSTGRES_PASSWORD=devboard
POSTGRES_DB=devboard
# --- Backend (Go API) ---
# Port the Go app listens on INSIDE its container.
# NOTE: if you change this, also update the proxy target in
# frontend/vite.config.js (it points at http://backend:8080), or the frontend
# won't find the backend.
BACKEND_PORT=8080
# --- Host port mappings (the host side of host:container) ---
# Change these if a port is already taken on your machine.
POSTGRES_HOST_PORT=5432
BACKEND_HOST_PORT=8081
FRONTEND_HOST_PORT=8080