2016-10-19 13:27:55 +02:00
|
|
|
# PDO Session Handler Configuration !!!!! --> moved to main config.yml
|
|
|
|
|
#framework:
|
|
|
|
|
# session:
|
|
|
|
|
# handler_id: session.handler.pdo
|
|
|
|
|
|
|
|
|
|
# Doctrine cache
|
|
|
|
|
doctrine_cache:
|
|
|
|
|
providers:
|
|
|
|
|
redis_cache:
|
|
|
|
|
redis:
|
|
|
|
|
host: localhost
|
|
|
|
|
port: 6379
|
|
|
|
|
database: 3
|
|
|
|
|
websocket_cache_client:
|
|
|
|
|
type: redis
|
|
|
|
|
alias: gos_web_socket.client_storage.driver.redis
|
|
|
|
|
|
|
|
|
|
# SNC
|
|
|
|
|
snc_redis:
|
|
|
|
|
clients:
|
|
|
|
|
cache:
|
|
|
|
|
type: predis
|
|
|
|
|
alias: cache
|
|
|
|
|
dsn: redis://localhost/2
|
|
|
|
|
logging: "%kernel.debug%"
|
|
|
|
|
options:
|
|
|
|
|
profile: 2.2
|
|
|
|
|
connection_timeout: 10
|
|
|
|
|
read_write_timeout: 30
|
|
|
|
|
|
2016-10-18 15:58:53 +02:00
|
|
|
# Web Socket Configuration
|
|
|
|
|
gos_web_socket:
|
|
|
|
|
server:
|
2016-10-19 13:27:55 +02:00
|
|
|
host: 0.0.0.0
|
2016-10-21 17:55:19 +02:00
|
|
|
port: 6450
|
2016-10-18 15:58:53 +02:00
|
|
|
router:
|
|
|
|
|
resources:
|
|
|
|
|
- "@MineSeekerBundle/Resources/config/pubsub/routing.yml"
|
|
|
|
|
client:
|
2016-10-19 13:27:55 +02:00
|
|
|
firewall: main
|
2016-10-18 15:58:53 +02:00
|
|
|
session_handler: "@session.handler.pdo"
|
2016-10-19 13:27:55 +02:00
|
|
|
storage:
|
|
|
|
|
driver: "@gos_web_socket.client_storage.driver.predis"
|
|
|
|
|
decorator: "@gos_web_socket.client_storage.doctrine.decorator"
|