Created
October 16, 2017 14:12
-
-
Save COil/2077726fb85e3dae711d867253d23e0d to your computer and use it in GitHub Desktop.
Redis full DNS with database and port example + SNC bundle basic config
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# @see https://github.com/snc/SncRedisBundle/blob/master/Resources/doc/index.md | |
parameters: | |
app_version: 6.0.0 | |
# Redis | |
snc_redis.dsn: redis://%redis_node_1%:%redis_port%/%redis_database% | |
# https://github.com/snc/SncRedisBundle/blob/master/Resources/doc/index.md | |
snc_redis: | |
clients: | |
default: | |
type: predis | |
alias: default | |
dsn: '%snc_redis.dsn%' | |
logging: false | |
session: | |
type: predis | |
alias: session | |
dsn: '%snc_redis.dsn%' | |
logging: false | |
session: | |
client: session | |
prefix: 'myapp_%app_version%_' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment