# 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= APP_SHARE_DIR=var/share ###< symfony/framework-bundle ### ###> symfony/routing ### # Configure how to generate URLs in non-HTTP contexts, such as CLI commands. # See https://symfony.com/doc/current/routing.html#generating-urls-in-commands DEFAULT_URI=http://localhost ###< symfony/routing ### ###> doctrine/doctrine-bundle ### # Format described at https://www.doctrine-project.org/projects/doctrine-dbal/en/latest/reference/configuration.html#connecting-using-a-url # SQLite is the development default. MySQL, MariaDB and PostgreSQL are supported too; # for those, state the server version in the URL: # DATABASE_URL="mysql://app:!ChangeMe!@127.0.0.1:3306/app?serverVersion=8.0.32&charset=utf8mb4" # DATABASE_URL="mysql://app:!ChangeMe!@127.0.0.1:3306/app?serverVersion=mariadb-11.8.6&charset=utf8mb4" # DATABASE_URL="postgresql://app:!ChangeMe!@127.0.0.1:5432/app?serverVersion=16&charset=utf8" DATABASE_URL="sqlite:///%kernel.project_dir%/var/data_%kernel.environment%.db" ###< doctrine/doctrine-bundle ### # Database holding the legacy tables (ksiazki, pozycz, pozycz_historia), read only by # "bin/console app:import-legacy". LEGACY_DATABASE_URL="mysql://books:books123@127.0.0.1:3306/books?serverVersion=mariadb-11.8.6&charset=utf8mb4" # Key for the LibraryThing covers API (https://www.librarything.com/services/keys.php). When set, # a book added with an ISBN gets its cover from LibraryThing. Put the key in .env.local. LIBRARYTHING_API_KEY=