Created
December 6, 2016 21:28
-
-
Save emtii/aeb103989303aa7b500d8830ec566859 to your computer and use it in GitHub Desktop.
example production + cdn config for shopware 5 Raw
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
return [ | |
// database settings | |
'db' => [ | |
'host' => 'localhost', | |
'port' => '3306', | |
'username' => 'shopware', | |
'password' => 'shopware', | |
'dbname' => 'shopware' | |
], | |
// backend cache | |
'cache' => [ | |
'backend' => 'apc', | |
'backendOptions' => [], | |
'frontendOptions' => [] | |
], | |
// model cache | |
'model' => [ | |
'cacheProvider' => 'Apc' // supports Apc, Array, Wincache and Xcache | |
], | |
// http cache | |
'httpCache' => [ | |
'enabled' => true, | |
'debug' => false | |
], | |
'cdn' => [ | |
'backend' => 'local', | |
'adapters' => [ | |
'local' => [ | |
'type' => 'local', | |
'mediaUrl' => 'http://static.foo.bar/', | |
'path' => realpath(__DIR__ . '/') | |
] | |
] | |
] | |
]; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment