Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .spellcheck.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,5 +29,5 @@ matrix:
- open: '# {'
close: '}'
sources:
- '**/*.md|!resources/references/adr/*|!resources/guidelines/code/core/*'
- '**/*.md|!resources/references/adr/*|!resources/guidelines/code/core/*|!CLAUDE.md|!AGENTS.md'
default_encoding: utf-8
4 changes: 4 additions & 0 deletions .wordlist.txt
Original file line number Diff line number Diff line change
Expand Up @@ -627,6 +627,7 @@ MyTestClass
MyTestInterface
NATS
NFS
NGWAF
NPM
NUR
NVDA
Expand Down Expand Up @@ -1097,6 +1098,7 @@ VueJs
VueX
Vuei
Vuex
WAF
WASM
WCAG
WMA
Expand Down Expand Up @@ -1431,6 +1433,7 @@ fetchable
fieldset
fileSize
fileinfo
filesize
filesystem
filesystems
firstname
Expand Down Expand Up @@ -1695,6 +1698,7 @@ onboarded
onboarding
onlyAvailable
onlyOnFeature
ons
onwards
oop
opcache
Expand Down
22 changes: 22 additions & 0 deletions products/paas/shopware/cdn/fastly-snippets.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
---
nav:
title: Fastly Snippets
position: 43
---

# Fastly Snippets

This section provides comprehensive information about Fastly snippets configuration.

## Storefront service

To deploy Fastly snippets for the `storefront` service, you need to install the following recipe: `shopware/fastly-meta`.
For more information about this recipe, please have a look at the [shopware/fastly-meta recipe documentation](https://github.com/shopware/fastly-meta).

Check warning on line 14 in products/paas/shopware/cdn/fastly-snippets.md

View workflow job for this annotation

GitHub Actions / LanguageTool

[LanguageTool] products/paas/shopware/cdn/fastly-snippets.md#L14

In American English, “take a look” is more commonly used. (HAVE_A_LOOK[5]) Suggestions: `take a look` Rule: https://community.languagetool.org/rule/show/HAVE_A_LOOK?lang=en-US&subId=5 Category: BRITISH_ENGLISH
Raw output
products/paas/shopware/cdn/fastly-snippets.md:14:47: In American English, “take a look” is more commonly used. (HAVE_A_LOOK[5])
 Suggestions: `take a look`
 Rule: https://community.languagetool.org/rule/show/HAVE_A_LOOK?lang=en-US&subId=5
 Category: BRITISH_ENGLISH

The `FASTLY_API_KEY` and `FASTLY_SERVICE_ID` are automatically provided to the Shopware instance.

The snippets are automatically installed and configured during the application deployment, and no further action is needed.

## Limitations

For now only the snippets for the `storefront` service can be configured. We are working on providing a unified experience in regard to snippet management for both services (`storefront` and `cdn`).
7 changes: 6 additions & 1 deletion products/paas/shopware/cdn/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,12 +25,17 @@ Fastly is fully integrated into Shopware PaaS Native. The integration includes:

- Automatic cache invalidation mechanisms
- Soft purge capabilities to maintain performance during cache updates
- Deployment helper integration for seamless VCL snippet management
- Deployment helper integration for seamless VCL snippet management. See the [Fastly snippets documentation](./fastly-snippets.md) for more details.

### Configuration

Fastly is automatically configured and enabled by default in Shopware PaaS Native environments. No additional Shopware configuration is required - the PaaS platform handles all Fastly setup and cache management automatically.

We configure two different Fastly services:

- `storefront`: Service that proxies the storefront and admin Shopware instances.
- `cdn`: Service that proxies all the CDN assets hosted on S3 (public bucket).

## Custom Domains

### Prerequisites
Expand Down
30 changes: 30 additions & 0 deletions products/paas/shopware/cdn/security-features.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
---
nav:
title: Security Features
position: 42
---

# Web Application Firewall

This section provides comprehensive information about the Web Application Firewall solutions for Shopware PaaS Native.

## Overview

Shopware PaaS Native includes a Web Application Firewall (WAF) by default, powered by Fastly [NGWAF](https://docs.fastly.com/products/fastly-next-gen-waf). The enabled default feature set is the NGWAF `Core` feature set.

This provides protection by default against OWASP Top 10 categories.

Customers do not need to take any action; this is automatically enabled and configured for every application.

We have the possibility of adding more add-ons from the different feature sets provided by Fastly on our roadmap (with no timeline at this stage).

<!-- To be released soon
# DDOS protection

This section provides comprehensive information about the DDOS protection solution for Shopware PaaS Native.

## Overview

This feature is a premium add-ons. It is powered by [Fastly DDOS Protection](https://www.fastly.com/products/ddos-protection).

Check warning on line 28 in products/paas/shopware/cdn/security-features.md

View workflow job for this annotation

GitHub Actions / LanguageTool

[LanguageTool] products/paas/shopware/cdn/security-features.md#L28

The plural noun “add-ons” cannot be used with the article “a”. Did you mean “a premium add-on”? (A_NNS[1]) Suggestions: `a premium add-on` Rule: https://community.languagetool.org/rule/show/A_NNS?lang=en-US&subId=1 Category: GRAMMAR
Raw output
products/paas/shopware/cdn/security-features.md:28:16: The plural noun “add-ons” cannot be used with the article “a”. Did you mean “a premium add-on”? (A_NNS[1])
 Suggestions: `a premium add-on`
 Rule: https://community.languagetool.org/rule/show/A_NNS?lang=en-US&subId=1
 Category: GRAMMAR

Reach out to us to know more about this. -->
Comment thread
renaudhager marked this conversation as resolved.
15 changes: 15 additions & 0 deletions products/paas/shopware/fundamentals/application-yaml.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@
app:
php:
version: "8.3"
extensions: []
environment_variables: []
services:
mysql:
Expand All @@ -43,6 +44,8 @@
app:
php:
version: "8.3"
extensions:
- imagick
environment_variables:
- name: INSTALL_LOCALE
value: fr-FR
Expand All @@ -69,6 +72,18 @@
version: "8.3"
```

### `app.php.extensions`

The PHP extensions to install during build time. We use [this](https://github.com/mlocati/docker-php-extension-installer) installer to install extensions.

```yaml
app:
php:

Check warning on line 81 in products/paas/shopware/fundamentals/application-yaml.md

View workflow job for this annotation

GitHub Actions / LanguageTool

[LanguageTool] products/paas/shopware/fundamentals/application-yaml.md#L81

File types are normally capitalized. (FILE_EXTENSIONS_CASE[1]) Suggestions: `PHP` URL: https://languagetool.org/insights/post/spelling-capital-letters/ Rule: https://community.languagetool.org/rule/show/FILE_EXTENSIONS_CASE?lang=en-US&subId=1 Category: CASING
Raw output
products/paas/shopware/fundamentals/application-yaml.md:81:2: File types are normally capitalized. (FILE_EXTENSIONS_CASE[1])
 Suggestions: `PHP`
 URL: https://languagetool.org/insights/post/spelling-capital-letters/ 
 Rule: https://community.languagetool.org/rule/show/FILE_EXTENSIONS_CASE?lang=en-US&subId=1
 Category: CASING
extensions:
- extension1
- extension2
```

### `app.environment_variables`

A list of environment variables is passed to the application. Each entry requires:
Expand Down
23 changes: 23 additions & 0 deletions products/paas/shopware/fundamentals/php-settings.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
---
nav:
title: PHP settings
position: 85
---

# PHP settings configuration

We use the official Shopware [Docker](https://github.com/shopware/docker) image as a base image during the build phase.

Among other parameters, you can configure the following using environment variables:

- `PHP_MAX_UPLOAD_SIZE`: upload_max_filesize
- `PHP_MAX_UPLOAD_SIZE`: post_max_size
Comment thread
renaudhager marked this conversation as resolved.
Comment thread
renaudhager marked this conversation as resolved.
- `PHP_MAX_EXECUTION_TIME`: max_execution_time

For the exhaustive list, please refer to this [page](https://github.com/shopware/docker/blob/main/fpm/rootfs/usr/local/etc/php/conf.d/docker.ini).

## Note

The following variable is natively managed by our automation and should not be updated:

- `PHP_SESSION_HANDLER`
Loading