Skip to content
This repository was archived by the owner on Jun 24, 2025. It is now read-only.

Options

zorrobert edited this page Oct 31, 2024 · 5 revisions

shopdev.enable

Enables ShopDev, a development environment for Shopware.

Type: boolean

Default: false

shopdev.adminer.enable

Enable Adminer

Type: boolean

Default: false

shopdev.adminer.host

Adminer host. Defaults to global host.

Type: string

Default: "127.0.0.1"

shopdev.adminer.port

Sets the Adminer port

Type: signed integer

Default: 8010

shopdev.blackfire.enable

Enable Blackfire for shopdev. Other configuration can be done using the devenv blackfire module (see https://devenv\.sh/supported-services/blackfire/)

Type: boolean

Default: false

shopdev.caddy.additionalServerAlias

Additional server alias for caddy. Hostnames / IPs added here will be served by caddy.

Type: list of string

Default: [ ]

shopdev.caddy.documentRoot

Sets the docroot of caddy

Type: string

Default: "public"

shopdev.caddy.fallbackMediaPaths

Sets the paths to be redirected to the fallbackMediaUrl.

Type: string

Default: "/media/* /thumbnail/*"

shopdev.caddy.fallbackMediaUrl

Fallback URL for media not found on local storage. Best for CDN purposes without downloading them.

Type: string

Default: ""

shopdev.caddy.indexFile

Sets the caddy index file for the document root

Type: string

Default: "index.php"

shopdev.caddy.projectRoot

Root of the project as path from the file devenv.nix

Type: string

Default: "."

Example: "project"

shopdev.caddy.staticFilePaths

Sets the matcher paths to be “ignored” by caddy

Type: string

Default: "/theme/* /media/* /thumbnail/* /bundles/* /css/* /fonts/* /js/* /recovery/* /sitemap/*"

shopdev.database.host

Database host.

Type: string

Default: "127.0.0.1"

shopdev.database.name

Database name

Type: string

Default: "shopware"

shopdev.database.password

Database user password

Type: string

Default: "shopware"

shopdev.database.port

Sets the MySQL port.

Type: signed integer

Default: 3306

shopdev.database.username

Database username

Type: string

Default: "shopware"

shopdev.host

This is the host that all services use (unless overridden via their specific host option). Defaults to 127.0.0.1 There is really no reason to ever change this.

Type: string

Default: "127.0.0.1"

shopdev.httpPort

Sets the HTTP port

Type: signed integer

Default: 80

shopdev.httpsPort

Sets the HTTPS port

Type: signed integer

Default: 443

shopdev.mailhog.enable

Enable Mailhog

Type: boolean

Default: false

shopdev.mailhog.apiPort

Sets the Mailhog API port

Type: signed integer

Default: 8025

shopdev.mailhog.host

Mailhog host. Defaults to global host.

Type: string

Default: "127.0.0.1"

shopdev.mailhog.port

Sets the Mailhog Web UI port

Type: signed integer

Default: 8025

shopdev.mailhog.smtpPort

Sets the Mailhog SMTP port

Type: signed integer

Default: 1025

shopdev.php.additionalExtensions

Additional PHP extensions

Type: list of string

Default: [ ]

Example:

[
  "mailparse"
]

shopdev.php.defaultConfig

The default PHP settings. You can override these using shopdev.php.extraConfig. The settings are passed to the custom PHP package instead of php.ini.

Type: string

Default:

''
  pdo_mysql.default_socket = 3306
  mysqli.default_socket = 3306
  memory_limit = 512M
  realpath_cache_ttl = 3600
  session.gc_probability = 0
  display_errors = On
  display_startup_errors = true
  error_reporting = E_ALL
  html_errors = true
  max_execution_time = 60
  max_input_time = 60
  assert.active = 0
  zend.detect_unicode = 0
  opcache.memory_consumption = 256M
  opcache.interned_strings_buffer = 20
  opcache.enable_cli = 1
  opcache.enable = 1
  zend.assertions = 0
  short_open_tag = 0
  xdebug.mode = "debug"
  xdebug.start_with_request = "trigger"
  xdebug.discover_client_host = 1
  xdebug.var_display_max_depth = -1
  xdebug.var_display_max_data = -1
  xdebug.var_display_max_children = -1
''

shopdev.php.extraConfig

Additional PHP settings. The settings here will override settings in shopdev.php.defaultConfig.

Type: string

Default: ""

Example:

''
  memory_limit = 1024M
''

shopdev.php.version

Set the PHP Version to use. Versions are provided by fossar/nix-phps, see https://github\.com/fossar/nix-phps for all available versions.

Type: string

Default: "php83"

shopdev.rabbitmq.enable

Enable and configure RabbitMQ via shopdev.

Type: boolean

Default: false

shopdev.rabbitmq.host

RabbitMQ host. Defaults to global host. 127.0.0.1 can’t be used as rabbitmq can’t set short node name

Type: string

Default: "localhost"

shopdev.rabbitmq.managementPlugin.enable

Enable and configure RabbitMQ via shopdev.

Type: boolean

Default: true

shopdev.rabbitmq.managementPlugin.port

Sets the RabbitMQ management plugin port

Type: signed integer

Default: 15672

shopdev.rabbitmq.port

Sets the RabbitMQ port

Type: signed integer

Default: 5672

shopdev.redis.enable

Enable redis

Type: boolean

Default: true

shopdev.redis.host

Redis host. Defaults to global host.

Type: string

Default: "127.0.0.1"

shopdev.redis.port

Sets the Redis port

Type: signed integer

Default: 6379

shopdev.search.enable

Enable search via OpenSearch

Type: boolean

Default: false

shopdev.search.host

Search Engine host. Defaults to global host.

Type: string

Default: "127.0.0.1"

shopdev.search.port

Sets the Elasticsearch/OpenSearch port

Type: signed integer

Default: 9200

shopdev.search.tcpPort

Sets the Elasticsearch/OpenSearch TCP port

Type: signed integer

Default: 9300

shopdev.search.useElasticSearch

use ElasticSearch instead of OpenSearch

Type: boolean

Default: false