-
Notifications
You must be signed in to change notification settings - Fork 18
Expand file tree
/
Copy pathenv.local.example
More file actions
27 lines (24 loc) · 1.21 KB
/
env.local.example
File metadata and controls
27 lines (24 loc) · 1.21 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
# =====================================================
# Local development overrides (hot reload with npm run dev)
# =====================================================
# Copy this file to .env.local:
# cp env.local.example .env.local
#
# Use when running only infrastructure in Docker and the app
# locally with "npm run dev". Ensure .env exists and has the
# same MYSQL_USER, MYSQL_PASSWORD, MYSQL_DATABASE, CLICKHOUSE_*
# and JWT_SECRET. This file overrides only the host/URL so the
# app on your machine can reach the containers via localhost.
# =====================================================
MYSQL_HOST=127.0.0.1
MYSQL_PORT=3306
# Replace with your .env values: mysql://USER:PASSWORD@127.0.0.1:3306/DATABASE
DATABASE_URL=mysql://bronvault:change_me_app_password_123@127.0.0.1:3306/bronvaultnew
CLICKHOUSE_HOST=http://127.0.0.1:8123
# Use same values as in .env (app also accepts CLICKHOUSE_DB as CLICKHOUSE_DATABASE)
CLICKHOUSE_USER=default
CLICKHOUSE_PASSWORD=change_me_clickhouse_password_123
CLICKHOUSE_DATABASE=bronvault_analytics
# MinIO (S3) is configured in the app Settings UI; when using local Docker MinIO use:
# Endpoint: http://127.0.0.1:9001 (S3 API port in docker-compose)
# Console: http://localhost:9002