Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- /**
- * Local Configuration Override
- *
- * This configuration override file is for overriding environment-specific and
- * security-sensitive configuration information. Copy this file without the
- * .dist extension at the end and populate values as needed.
- *
- * @NOTE: This file is ignored from Git by default with the .gitignore included
- * in ZendSkeletonApplication. This is a good practice, as it prevents sensitive
- * credentials from accidentally being committed into version control.
- */
- return [
- 'services_base_urls' => [
- 'sark' => 'http://sark.gpb.local/',
- 'hub' => 'http://hub.gpb.local/',
- 'itemsdictionary' => "http://itemsdictionary.ru/"
- ],
- 'host' => [
- 'name' => 'http://hub.gpb.local',
- ],
- 'db' => [
- 'driver' => 'PDO',
- 'dsn' => 'pgsql:host=localhost;port=5432;dbname=hub;user=hub;password=hub',
- ],
- 'service_manager' => [
- 'factories' => [
- 'Zend\Db\Adapter\Adapter' => 'Zend\Db\Adapter\AdapterServiceFactory',
- ],
- ],
- 'statuslib' => [
- 'array_mapper_path' => 'data/wrapperLog.php',
- ],
- 'zf-oauth2' => [
- 'db' => [
- 'dsn' => 'pgsql:host=db;port=5432;dbname=hub;user=hub',
- 'username' => 'hub',
- 'password' => 'hub'
- ]
- ],
- 'zf-mvc-auth' => [
- 'authentication' => [
- 'adapters' => [
- 'oauth2' => [
- 'adapter' => 'ZF\\MvcAuth\\Authentication\\OAuth2Adapter',
- 'storage' => [
- 'storage' => \Application\Service\Auth\PdoStorageAdapter::class,
- 'route' => '/oauth',
- ],
- ],
- ],
- ],
- ],
- 'access_cookie_settings' => [
- 'domain' => 'gpb.local',
- 'expires_in' => 3600,
- 'path' => '/',
- 'secure' => true,
- 'httponly' => true,
- ],
- 'sso_token_keys' => [
- 'key' => 'skdfjalsdjfajoiwu5466asdfgaoiutg564566990285790',
- 'token_key' => '35464sfgjahvgghlqhj230u_()^*(&^ma;lsdl;ja456sdfa4'
- ]
- ];
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement