-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.env.example
More file actions
43 lines (34 loc) · 1.83 KB
/
.env.example
File metadata and controls
43 lines (34 loc) · 1.83 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
# =============================================================================
# SimpleHTTPRedirector - Environment Configuration
# =============================================================================
# This file documents all environment variables used across compose files.
# Copy to .env and adjust values as needed.
#
# Usage:
# Coolify: docker compose up -d (no .env needed)
# Traefik: docker compose -f docker-compose.traefik.yml up -d
# Development: docker compose -f docker-compose.development.yml up --build
# =============================================================================
# -----------------------------------------------------------------------------
# Server Settings (all compose files)
# -----------------------------------------------------------------------------
# Trust X-Forwarded-* headers from reverse proxy (default: true)
# Set to false if service is directly exposed to the internet
TRUST_PROXY=true
# -----------------------------------------------------------------------------
# docker-compose.traefik.yml
# -----------------------------------------------------------------------------
# Stack name prefix for container and Traefik labels
STACK_NAME=REDIRECTOR
# External Docker network for Traefik
PROXY_NETWORK=proxy
# Path to config directory (relative to compose file)
CONFIG_PATH=./config
# Traefik Host Rule - list all source domains
# The actual redirect targets are defined in config/redirects.json
REDIRECT_HOST_RULE=Host(`alte-domain.de`) || Host(`www.alte-domain.de`) || Host(`marketing-campaign.de`) || HostRegexp(`^.+\\.legacy\\.de$`)
# -----------------------------------------------------------------------------
# docker-compose.development.yml
# -----------------------------------------------------------------------------
# Host port mapping for local development
HOST_PORT=8080