-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.env.local
More file actions
50 lines (40 loc) · 1.4 KB
/
Copy path.env.local
File metadata and controls
50 lines (40 loc) · 1.4 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
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
# Local development environment variables
# This file is used for development and should not be committed to git
# Image Configuration
IMAGE_TAG=latest
# Port configuration
FRONTEND_PORT=3000
PORT=${FRONTEND_PORT}
# Backend server port
BACKEND_PORT=3001
# Service hosts (for docker-compose networking)
BACKEND_HOST=mqa-backend
FRONTEND_HOST=mqa-frontend
# Optional: Nginx ports (only when using nginx profile)
NGINX_HTTP_PORT=80
NGINX_HTTPS_PORT=443
# Application configuration
PUBLIC_URL=/
# For Docker with nginx: /api
# For Docker direct access: http://localhost:3001/api
# For local dev: use http://localhost:3001/api or .env.local
REACT_APP_BACKEND_URL=http://localhost:3001/api
# Node environment
NODE_ENV=production
# Security configuration (Backend)
# SSL certificate validation (1=enabled, 0=disabled)
# WARNING: Only disable in development with self-signed certificates!
NODE_TLS_REJECT_UNAUTHORIZED=0
# SSRF Protection: Whitelist allowed domains (comma-separated)
# Leave empty to allow all external domains (not recommended for production)
# Examples:
# ALLOWED_DOMAINS=datos.gob.es,semiceu.github.io,datosgobes.github.io,europa.eu
ALLOWED_DOMAINS=
# Optional: API configuration
# REACT_APP_API_TIMEOUT=30000
# REACT_APP_DEBUG=false
# Webpack configuration
# Suppress source map warnings from third-party dependencies
GENERATE_SOURCEMAP=false
# Suppress webpack deprecation warnings
SUPPRESS_NO_CONFIG_WARNING=true