-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy path.env
More file actions
84 lines (72 loc) · 3.42 KB
/
.env
File metadata and controls
84 lines (72 loc) · 3.42 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
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
# In all environments, the following files are loaded if they exist,
# the latter taking precedence over the former:
#
# * .env contains default values for the environment variables needed by the app
# * .env.local uncommitted file with local overrides
# * .env.$APP_ENV committed environment-specific defaults
# * .env.$APP_ENV.local uncommitted environment-specific overrides
#
# Real environment variables win over .env files.
#
# DO NOT DEFINE PRODUCTION SECRETS IN THIS FILE NOR IN ANY OTHER COMMITTED FILES.
# https://symfony.com/doc/current/configuration/secrets.html
#
# Run "composer dump-env prod" to compile .env files for production use (requires symfony/flex >=1.2).
# https://symfony.com/doc/current/best_practices.html#use-environment-variables-for-infrastructure-configuration
ETFS_PROJECT_NAME=sitebuilder
###> symfony/framework-bundle ###
APP_ENV=dev
APP_SECRET=secret
###< symfony/framework-bundle ###
###> doctrine/doctrine-bundle ###
# Format described at https://www.doctrine-project.org/projects/doctrine-dbal/en/latest/reference/configuration.html#connecting-using-a-url
# IMPORTANT: You MUST configure your server version, either here or in config/packages/doctrine.yaml
#
DATABASE_PRODUCT="mysql"
DATABASE_USER="root"
DATABASE_PASSWORD="secret"
DATABASE_HOST="mariadb"
DATABASE_PORT="3306"
DATABASE_DB="app_${APP_ENV}"
# Match docker-compose mariadb image (mariadb:12.1.2); see https://www.doctrine-project.org/projects/doctrine-dbal/en/current/reference/configuration.html
DATABASE_SERVERVERSION="mariadb-12.1.2"
# Combine the above variables into a DATABASE_URL
DATABASE_URL="${DATABASE_PRODUCT}://${DATABASE_USER}:${DATABASE_PASSWORD}@${DATABASE_HOST}:${DATABASE_PORT}/${DATABASE_DB}?serverVersion=${DATABASE_SERVERVERSION}"
###< doctrine/doctrine-bundle ###
###> symfony/messenger ###
# Choose one of the transports below
# MESSENGER_TRANSPORT_DSN=amqp://guest:guest@localhost:5672/%2f/messages
# MESSENGER_TRANSPORT_DSN=redis://localhost:6379/messages
MESSENGER_IMMEDIATE_TRANSPORT_DSN=doctrine://default
###< symfony/messenger ###
###> symfony/mailer ###
MAILER_DSN=null://null
MAIL_DEFAULT_SENDER_ADDRESS=noreply@example.com
# Sender name (override in .env.local if needed)
MAIL_DEFAULT_SENDER_NAME=SiteBuilder
###< symfony/mailer ###
###> enterprise-tooling-for-symfony/shared-bundle ###
ROLLOUT_SIGNAL_SECRET=secret
###< enterprise-tooling-for-symfony/shared-bundle ###
###> symfony/lock ###
# Choose one of the stores below
# postgresql+advisory://db_user:db_password@localhost/db_name
LOCK_DSN="${DATABASE_URL}"
###< symfony/lock ###
LLM_CONTENT_EDITOR_OPENAI_API_KEY=your-key-here
###> sitebuilder/llm-wire-log ###
# Set to "1" to enable raw LLM provider API wire logging (request + response payloads).
# Enabled by default in dev via .env.dev. Override per environment as needed.
LLM_WIRE_LOG_ENABLED=0
# PhotoBuilder: set to 1 to use fake/simulated adapters instead of real OpenAI calls
PHOTO_BUILDER_SIMULATE_IMAGE_PROMPT_GENERATION=0
PHOTO_BUILDER_SIMULATE_IMAGE_GENERATION=0
PHOTO_BUILDER_GEMINI_TIMEOUT_SECONDS=300
LLM_CONTENT_EDITOR_SIMULATE=0
###< sitebuilder/llm-wire-log ###
###> sitebuilder/docker-execution ###
# Host path for Docker-in-Docker volume mounts.
# IMPORTANT: This must be set to the absolute path of the project on the host.
# Add to .env.local (not committed): HOST_PROJECT_PATH=/path/to/project
# Or start with: HOST_PROJECT_PATH=$(pwd) docker compose up -d
###< sitebuilder/docker-execution ###