# 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 ###> symfony/framework-bundle ### APP_ENV=dev APP_SECRET=9e287f1ad737386dde46d51e80487236 ###< symfony/framework-bundle ### ###> docker ### # Dev URL: http://127.0.0.1:${HTTP_PORT}/ (override HTTP_PORT/HTTPS_PORT if busy). HTTP_PORT=9080 HTTPS_PORT=9443 # SERVER_NAME=:80 # If MYSQL_* changed after the DB volume exists: docker compose down -v (wipes data), then up. MYSQL_DATABASE=unfold_db MYSQL_VERSION=8.0 MYSQL_CHARSET=utf8mb4 MYSQL_USER=unfold_user MYSQL_PASSWORD=password # Root password is only used for the bundled database service, see compose.yaml # skip it, if you use your own MYSQL_ROOT_PASSWORD=root_password ###< docker ### ###> 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_URL="mysql://${MYSQL_USER}:${MYSQL_PASSWORD}@database:3306/${MYSQL_DATABASE}?serverVersion=${MYSQL_VERSION}&charset=${MYSQL_CHARSET}" ###< doctrine/doctrine-bundle ###