-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy path.env.example
More file actions
23 lines (20 loc) · 946 Bytes
/
Copy path.env.example
File metadata and controls
23 lines (20 loc) · 946 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
# ghost-sweep local development environment example
#
# Copy to .env for local development only:
# cp .env.example .env
#
# Do not commit .env.
# Do not reuse these development values in staging or production.
# Staging and production require an explicit strong JWT_SECRET_KEY (minimum 32 characters).
# Backend (Docker Compose service hostnames)
ENVIRONMENT=development
DATABASE_URL=postgresql+asyncpg://ghost_sweep:ghost_sweep@postgres:5432/ghost_sweep
REDIS_URL=redis://redis:6379/0
# Required in production (minimum 32 characters). Optional in development and test.
JWT_SECRET_KEY=replace-with-long-random-secret-at-least-32-chars
CORS_ORIGINS=["http://localhost:3000"]
# Backend local pytest (host machine, postgres_test service on port 5433)
TEST_DATABASE_URL=postgresql+asyncpg://ghost_sweep:ghost_sweep@localhost:5433/ghost_sweep_test
TEST_REDIS_URL=redis://localhost:6379/1
# Frontend
NEXT_PUBLIC_API_BASE_URL=http://localhost:8000