2019-10-26 18:07:36 +02:00
|
|
|
# This file is a "template" of which env vars need to be defined for your application
|
|
|
|
|
# Copy this file to .env file for development, create environment variables when deploying to production
|
|
|
|
|
# https://symfony.com/doc/current/best_practices/configuration.html#infrastructure-related-configuration
|
|
|
|
|
|
|
|
|
|
###> symfony/framework-bundle ###
|
|
|
|
|
APP_ENV=dev
|
2026-04-13 15:50:28 +02:00
|
|
|
APP_SECRET=changethis
|
2026-04-14 15:54:00 +02:00
|
|
|
APP_NAME=mineseeker
|
2026-04-15 19:50:14 +02:00
|
|
|
# APP_PUBLIC_HOSTNAME: The public hostname for your application (used for generating absolute URLs in emails)
|
|
|
|
|
# For production, set this to your domain (e.g., mineseeker.com)
|
|
|
|
|
APP_PUBLIC_HOSTNAME=localhost
|
|
|
|
|
# TRUSTED_PROXIES: IPs/CIDRs of trusted reverse proxies (needed for correct URL scheme detection in emails)
|
|
|
|
|
# For Docker development, this is overridden in compose.override.yaml to "0.0.0.0/0"
|
|
|
|
|
# For production, set to your proxy's IP or Docker network CIDR (e.g., 172.18.0.0/16)
|
|
|
|
|
TRUSTED_PROXIES=127.0.0.1
|
2019-10-26 18:07:36 +02:00
|
|
|
###< symfony/framework-bundle ###
|
|
|
|
|
|
|
|
|
|
###> doctrine/doctrine-bundle ###
|
2026-04-14 12:55:47 +02:00
|
|
|
# Docker PostgreSQL is exposed on port 15432 — use that for bare-metal dev.
|
|
|
|
|
# Replace POSTGRES_USER / POSTGRES_PASSWORD / POSTGRES_DB with the values from your .env.
|
|
|
|
|
DATABASE_URL=postgresql://POSTGRES_USER:POSTGRES_PASSWORD@127.0.0.1:15432/POSTGRES_DB?serverVersion=18&charset=utf8
|
2019-10-26 18:07:36 +02:00
|
|
|
###< doctrine/doctrine-bundle ###
|
2026-04-13 15:50:28 +02:00
|
|
|
|
|
|
|
|
###> google/recaptcha ###
|
|
|
|
|
RECAPTCHA_SITE_KEY=changethis
|
|
|
|
|
RECAPTCHA_SECRET_KEY=changethis
|
|
|
|
|
###< google/recaptcha ###
|
|
|
|
|
|
|
|
|
|
###> minio/minio ###
|
|
|
|
|
MINIO_ROOT_USER=changethis
|
|
|
|
|
MINIO_ROOT_PASSWORD=changethis
|
|
|
|
|
MINIO_ENDPOINT=http://localhost:9000
|
2026-04-13 18:31:59 +02:00
|
|
|
MINIO_PUBLIC_URL=https://your-minio-subdomain.example.com
|
2026-04-13 15:50:28 +02:00
|
|
|
###< minio/minio ###
|
|
|
|
|
|
2019-10-26 18:07:36 +02:00
|
|
|
###> symfony/mailer ###
|
2026-04-13 11:56:50 +02:00
|
|
|
MAILER_DSN=smtp://localhost:1025
|
|
|
|
|
MAIL_DOMAIN=localhost
|
2019-10-26 18:07:36 +02:00
|
|
|
###< symfony/mailer ###
|
2026-04-09 22:00:53 +02:00
|
|
|
|
|
|
|
|
###> symfony/mercure-bundle ###
|
|
|
|
|
# See https://symfony.com/doc/current/mercure.html#configuration
|
|
|
|
|
# The URL of the Mercure hub, used by the app to publish updates (can be a local URL)
|
2026-04-13 15:50:28 +02:00
|
|
|
MERCURE_URL=https://mine.local/.well-known/mercure
|
2026-04-09 22:00:53 +02:00
|
|
|
# The public URL of the Mercure hub, used by the browser to connect
|
2026-04-13 15:50:28 +02:00
|
|
|
MERCURE_PUBLIC_URL=https://mine.local/.well-known/mercure
|
2026-04-09 22:00:53 +02:00
|
|
|
# The secret used to sign the JWTs
|
|
|
|
|
MERCURE_JWT_SECRET="!ChangeThisMercureHubJWTSecretKey!"
|
2026-04-13 15:50:28 +02:00
|
|
|
# Publisher JWT (must match publisher_jwt in your Caddyfile)
|
|
|
|
|
MERCURE_JWT_TOKEN=changethis
|
|
|
|
|
# Subscriber JWT sent to the browser so it can authenticate its EventSource connection
|
|
|
|
|
MERCURE_SUBSCRIBER_JWT=changethis
|
2026-04-09 22:00:53 +02:00
|
|
|
###< symfony/mercure-bundle ###
|
2026-04-13 15:50:28 +02:00
|
|
|
|
|
|
|
|
###> web-auth/webauthn-framework ###
|
|
|
|
|
WEBAUTHN_RP_ID=mine.local
|
|
|
|
|
WEBAUTHN_ORIGIN=https://mine.local
|
|
|
|
|
###< web-auth/webauthn-framework ###
|