Projekt

Obecné

Profil

« Předchozí | Další » 

Revize 3fc08f2d

Přidáno uživatelem Jakub Vašta před asi 4 roky(ů)

Re #7857

+ twig, annotations, mongo přidáno do composer.json
+ template and routing základní test funkcionality
+ mongo dump obnova - compose.yml - přidán nový volume data-db pro
uchování dat (docker windows nezvládá volume: ./database:/data/db) a
mount dev-dump složky
+ build.bat (dev) - composer update, mongorestore

Zobrazit rozdíly:

website/config/services.yaml
4 4
# Put parameters here that don't need to change on each machine where the app is deployed
5 5
# https://symfony.com/doc/current/best_practices/configuration.html#application-related-configuration
6 6
parameters:
7
    databaseConnectionString: 'mongodb://root:root@database'
7 8

  
8 9
services:
9 10
    # default configuration for services in *this* file
10 11
    _defaults:
11 12
        autowire: true      # Automatically injects dependencies in your services.
12 13
        autoconfigure: true # Automatically registers your services as commands, event subscribers, etc.
14
        bind:
15
            $connectionString: '%databaseConnectionString%'
13 16

  
14 17
    # makes classes in src/ available to be used as services
15 18
    # this creates a service per class whose id is the fully-qualified class name
......
25 28

  
26 29
    # add more service definitions when explicit configuration is needed
27 30
    # please note that last definitions always *replace* previous ones
31

  
32
    App\OpenData\OpenDataManager: ~      
33
    App\OpenData\IOpenDataManager: '@App\OpenData\OpenDataManager'

Také k dispozici: Unified diff