diff --git a/rikudou/psr6-dynamo-db-bundle/2.0/config/packages/prod/rikudou_dynamo_db_cache.yaml b/rikudou/psr6-dynamo-db-bundle/2.0/config/packages/prod/rikudou_dynamo_db_cache.yaml new file mode 100644 index 00000000..351ac3c9 --- /dev/null +++ b/rikudou/psr6-dynamo-db-bundle/2.0/config/packages/prod/rikudou_dynamo_db_cache.yaml @@ -0,0 +1,6 @@ +rikudou_dynamo_db_cache: + table: '%env(DYNAMODB_CACHE_TABLE)%' + # Use DynamoDB by default for cache & sessions + replace_default_adapter: true + client_config: + region: '%env(AWS_REGION)%' diff --git a/rikudou/psr6-dynamo-db-bundle/2.0/manifest.json b/rikudou/psr6-dynamo-db-bundle/2.0/manifest.json new file mode 100644 index 00000000..8c4a3d5a --- /dev/null +++ b/rikudou/psr6-dynamo-db-bundle/2.0/manifest.json @@ -0,0 +1,12 @@ +{ + "bundles": { + "Rikudou\\DynamoDbCacheBundle\\RikudouDynamoDbCacheBundle": ["prod"] + }, + "copy-from-recipe": { + "config/": "%CONFIG_DIR%/" + }, + "env": { + "DYNAMODB_CACHE_TABLE": "cache", + "#AWS_REGION": "us-east-1" + } +}