You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
17 lines
498 B
17 lines
498 B
# Copy to .env and fill in the values
|
|
# cp .env.example .env
|
|
|
|
# --- PostgreSQL (docker-compose: container initialisation) ---
|
|
DB_NAME=dropzone
|
|
DB_USER=dropzone
|
|
DB_PASSWORD=CHANGE_TO_STRONG_PASSWORD
|
|
|
|
# --- Backend (go run ./cmd/server — outside Docker) ---
|
|
DATABASE_URL=postgres://dropzone:CHANGE_TO_STRONG_PASSWORD@localhost:15432/dropzone?sslmode=disable
|
|
PORT=8080
|
|
|
|
# --- JWT ---
|
|
JWT_SECRET=CHANGE_TO_RANDOM_STRING_MIN_32_CHARS
|
|
|
|
# --- Nginx / domain (production) ---
|
|
DOMAIN=dropzone.example.com
|
|
|