Customize Infrastructure Configuration
The template configuration files, which were installed by the previous step, need to be customized for your project.
Please go through at least the files in the .platform/
folder and adapt it to your needs.
Configure your environments
The default Symfony environment for Pimcore projects is dev
, you may customize that for your PaaS environments accordingly.
- In Console, go to
Settings
->Environments
and select an environment, e.g.production
. - Open the tab
Variables
- Create a new variable with the name
env:APP_ENV
and the valueprod
- Pimcore now runs in production mode
RabbitMQ
RabbitMQ is configured as the default transport for Symfony messenger. If you would like to change that, you need to change following files and remove RabbitMQ config and dependencies:
config\pimcore\startup.php
, config\packages\messenger.yaml
, .platform\applications.yaml
, .platform\services.yaml
, composer.json
OpenSearch
For staring an new project based on Enterprise demo, default configuration on the Pimcore side is done for OpenSearch. In the case you are migrating your project and want to use Opensearch you should enable this configuration
pimcore_open_search_client:
clients:
default:
hosts: ['%env(PIMCORE_OPENSEARCH_CLIENT_HOST)%']
ssl_verification: false
S3 buckets storage
We support S3 buckets as storage. Default configuration is provided by Pimcore.
If you would like to S3 buckets as a storage, you would need to edit flysystem storage S3 config in the template/config/platform.yaml
and you would need to add following variables to your project/environment in console:
env:S3_STORAGE_KEY
- with the access keyenv:S3_STORAGE_SECRET
- with the secretenv:S3_PRIVATE_BUCKET
- with the name of the bucket which will contain private filesenv:S3_PUBLIC_BUCKET
- with the name of the bucket which will contain publicly available files
You could also combine Cloudfront with your S3 config to optimize performance and costs of an S3 bucket. Check the guide