-
Notifications
You must be signed in to change notification settings - Fork 11
Options
Allows to define the used PHP Version. For supported versions, see Different PHP versions
Example
kellerkinder.phpVersion = "php80";
Define shopware system config values.
Example
kellerkinder.systemConfig = {
"foo.bar.testString" = "false";
};
Define additional php.ini settings, which are used for php-fpm and php-cli.
Example
kellerkinder.additionalPhpConfig = ''
memory_limit = 200M
'';
Define additional PHP extensions that are included in php-fpm and php-cli.
Example
kellerkinder.additionalPhpExtensions = [
"mailparse"
];
Define additional server aliases that are added to caddy.
Example
kellerkinder.additionalServerAlias = [
"example.com"
];
Define additional vhost configurations that are appended to the general vhost configuration.
Example
kellerkinder.additionalVhostConfig = ''
tls internal
'';
Enables the RabbitMQ message broker and amqp PHP extension. Can be used for the Symfony message queue.
Example
kellerkinder.enableRabbitMq = true;
Enables the Elasticsearch service and configures Shopware to use Elasticsearch in addition to the default MySQL search. Only one of kellerkinder.enableElasticsearch or kellerkinder.enableOpenSearch should be enabled.
Example
kellerkinder.enableElasticsearch = true;
Enables the OpenSearch service and configures Shopware to use OpenSearch in addition to the default MySQL search. Only one of kellerkinder.enableElasticsearch or kellerkinder.enableOpenSearch should be enabled.
Example
kellerkinder.enableOpenSearch = true;
You can import a list of links of database dumps by using the command importdb
.
Define a list of links like in the example below.
Supported files:
- *.sql
- *.gz
- *.zip
Example
kellerkinder.importDatabaseDumps = [
"http://localhost/dump.sql.gz"
"http://localhost/admin_logins.sql"
];
Changes the default document root (public
) of caddy to the specified value
Example for the current folder
kellerkinder.documentRoot = ".";
Changes the default root of the project to the specified value (no /
as pre- or suffix required)
Example for a project
folder inside the current folder
kellerkinder.projectRoot = "project";
Sets the caddy index file for the document root
Example
kellerkinder.indexFile = "shopware.php";
Adjusts the defined matcher paths for caddy. You might want to adjust those to access/handle *.php
files.
NOTE: The path can not be empty!
Example
kellerkinder.staticFilePaths = "myCustomFolder/*";
Fallback redirect URL for media not found on local storage. Best for CDN purposes without downloading them.
Example
kellerkinder.fallbackMediaUrl = "https://my-cool-cdn-in-public-staging.example-cdn.com";
Sets the paths to be redirected to the fallbackMediaUrl.
Example
kellerkinder.fallbackMediaPaths = "/media/* /thumbnail/*";
Define packages that should be installed additionally.
Example
kellerkinder.additionalPackages = [ pkgs.jpegoptim pkgs.optipng pkgs.gifsicle ];
Enables the MySQL Binary Log and adds configuration for it.
Example
kellerkinder.enableMysqlBinLog = false;
The configurable ports can be found here