mirror of
https://github.com/coollabsio/coolify-examples.git
synced 2026-02-24 16:28:57 +00:00
Add Shopware 6 example (#61)
This commit is contained in:
20
shopware6/config/bundles.php
Normal file
20
shopware6/config/bundles.php
Normal file
@@ -0,0 +1,20 @@
|
||||
<?php
|
||||
|
||||
return [
|
||||
Symfony\Bundle\FrameworkBundle\FrameworkBundle::class => ['all' => true],
|
||||
Shopware\Core\Framework\Framework::class => ['all' => true],
|
||||
Shopware\Core\System\System::class => ['all' => true],
|
||||
Shopware\Core\Content\Content::class => ['all' => true],
|
||||
Shopware\Core\Checkout\Checkout::class => ['all' => true],
|
||||
Shopware\Core\Maintenance\Maintenance::class => ['all' => true],
|
||||
Shopware\Core\DevOps\DevOps::class => ['e2e' => true],
|
||||
Shopware\Core\Profiling\Profiling::class => ['all' => true],
|
||||
Shopware\Core\Service\Service::class => ['all' => true],
|
||||
Symfony\Bundle\TwigBundle\TwigBundle::class => ['all' => true],
|
||||
Symfony\Bundle\MonologBundle\MonologBundle::class => ['all' => true],
|
||||
Symfony\Bundle\DebugBundle\DebugBundle::class => ['dev' => true],
|
||||
Pentatrion\ViteBundle\PentatrionViteBundle::class => ['all' => true],
|
||||
Shopware\Administration\Administration::class => ['all' => true],
|
||||
Shopware\Elasticsearch\Elasticsearch::class => ['all' => true],
|
||||
Shopware\Storefront\Storefront::class => ['all' => true],
|
||||
];
|
||||
3
shopware6/config/jwt/.gitignore
vendored
Normal file
3
shopware6/config/jwt/.gitignore
vendored
Normal file
@@ -0,0 +1,3 @@
|
||||
*
|
||||
|
||||
!.gitignore
|
||||
2
shopware6/config/packages/lock.yaml
Normal file
2
shopware6/config/packages/lock.yaml
Normal file
@@ -0,0 +1,2 @@
|
||||
framework:
|
||||
lock: '%env(LOCK_DSN)%'
|
||||
11
shopware6/config/packages/nyholm_psr7.yaml
Normal file
11
shopware6/config/packages/nyholm_psr7.yaml
Normal file
@@ -0,0 +1,11 @@
|
||||
services:
|
||||
# Register nyholm/psr7 services for autowiring with PSR-17 (HTTP factories)
|
||||
Psr\Http\Message\RequestFactoryInterface: '@nyholm.psr7.psr17_factory'
|
||||
Psr\Http\Message\ResponseFactoryInterface: '@nyholm.psr7.psr17_factory'
|
||||
Psr\Http\Message\ServerRequestFactoryInterface: '@nyholm.psr7.psr17_factory'
|
||||
Psr\Http\Message\StreamFactoryInterface: '@nyholm.psr7.psr17_factory'
|
||||
Psr\Http\Message\UploadedFileFactoryInterface: '@nyholm.psr7.psr17_factory'
|
||||
Psr\Http\Message\UriFactoryInterface: '@nyholm.psr7.psr17_factory'
|
||||
|
||||
nyholm.psr7.psr17_factory:
|
||||
class: Nyholm\Psr7\Factory\Psr17Factory
|
||||
5
shopware6/config/routes.yaml
Normal file
5
shopware6/config/routes.yaml
Normal file
@@ -0,0 +1,5 @@
|
||||
controllers:
|
||||
resource:
|
||||
path: ../src/Controller/
|
||||
namespace: App\Controller
|
||||
type: attribute
|
||||
27
shopware6/config/services.yaml
Normal file
27
shopware6/config/services.yaml
Normal file
@@ -0,0 +1,27 @@
|
||||
# This file is the entry point to configure your own services.
|
||||
# Files in the packages/ subdirectory configure your dependencies.
|
||||
|
||||
# Put parameters here that don't need to change on each machine where the app is deployed
|
||||
# https://symfony.com/doc/current/best_practices.html#use-parameters-for-application-configuration
|
||||
parameters:
|
||||
shopware.store.frw: '1'
|
||||
default_cdn_strategy: 'physical_filename'
|
||||
shopware.cdn.strategy: '%env(default:default_cdn_strategy:SHOPWARE_CDN_STRATEGY_DEFAULT)%'
|
||||
env(OPENSEARCH_URL): 'http://localhost:9200'
|
||||
|
||||
services:
|
||||
# default configuration for services in *this* file
|
||||
_defaults:
|
||||
autowire: true # Automatically injects dependencies in your services.
|
||||
autoconfigure: true # Automatically registers your services as commands, event subscribers, etc.
|
||||
# Binding arguments by name or type
|
||||
# https://symfony.com/doc/current/service_container.html#binding-arguments-by-name-or-type
|
||||
#bind:
|
||||
# 'bool $isDebug': '%kernel.debug%'
|
||||
|
||||
App\:
|
||||
resource: '../src/'
|
||||
exclude:
|
||||
- '../src/DependencyInjection/'
|
||||
- '../src/Entity/'
|
||||
- '../src/Kernel.php'
|
||||
Reference in New Issue
Block a user