diff --git a/fresh/centrifugo-bundle/1.3/config/fresh_centrifugo.yaml b/fresh/centrifugo-bundle/1.3/config/fresh_centrifugo.yaml new file mode 100644 index 00000000..825c06b7 --- /dev/null +++ b/fresh/centrifugo-bundle/1.3/config/fresh_centrifugo.yaml @@ -0,0 +1,6 @@ +fresh_centrifugo: + api_key: '%env(CENTRIFUGO_API_KEY)%' + api_endpoint: '%env(CENTRIFUGO_API_ENDPOINT)%' + secret: '%env(CENTRIFUGO_SECRET)%' + jwt: + ttl: 86400 # 1 day diff --git a/fresh/centrifugo-bundle/1.3/manifest.json b/fresh/centrifugo-bundle/1.3/manifest.json new file mode 100644 index 00000000..bb29d995 --- /dev/null +++ b/fresh/centrifugo-bundle/1.3/manifest.json @@ -0,0 +1,13 @@ +{ + "bundles": { + "Fresh\\CentrifugoBundle\\FreshCentrifugoBundle": ["all"] + }, + "copy-from-recipe": { + "config/": "%CONFIG_DIR%/" + }, + "env": { + "CENTRIFUGO_API_KEY": "%generate(secret)%", + "CENTRIFUGO_API_ENDPOINT": "http://localhost:8000/api", + "CENTRIFUGO_SECRET": "%generate(secret)%" + } +}