Private
Public Access
1
0
Files
MineSeeker/src/Mine/SeekerBundle/Resources/config/config.yml

45 lines
1.2 KiB
YAML
Raw Normal View History

# 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
# Web Socket Configuration
gos_web_socket:
server:
host: 0.0.0.0
port: 6450
router:
resources:
- "@MineSeekerBundle/Resources/config/pubsub/routing.yml"
client:
firewall: main
session_handler: "@session.handler.pdo"
storage:
driver: "@gos_web_socket.client_storage.driver.predis"
decorator: "@gos_web_socket.client_storage.doctrine.decorator"