-
Notifications
You must be signed in to change notification settings - Fork 4
Expand file tree
/
Copy pathSettings.yaml
More file actions
179 lines (162 loc) · 6.39 KB
/
Settings.yaml
File metadata and controls
179 lines (162 loc) · 6.39 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
Flowpack:
DecoupledContentStore:
# Automatically start an incremental release when an asset is changed/replaced
startIncrementalReleaseOnAssetChange: true
redisContentStores:
# the "Primary" content store is the one Neos writes to during building the content release.
primary:
label: 'Primary'
hostname: 127.0.0.1
port: 6379
database: 11
username: ''
password: ''
# How many content releases to keep before cleaning them up.
#
# NOTE: the log-retention count is not configured here, but in prunner (see `pipelines.yml`, underneath
# pipelines.do_content_release.retention_count and pipelines.manually_transfer_content_release.retention_count).
contentReleaseRetentionCount: 20
# you can add additional, arbitrarily named, content stores here - they appear in the UI.
# If you do this, see the hints in the README "Copy Content Releases to a different Redis instance".
nodeRendering:
# Allows to filter the list of node types which should end up in the content store; and in the content
# enumeration. Supports the format of NodeInterface::getChildren() (or NodeTypeConstraintFactory, which is
# its internal implementation)
# Example:
# Neos.Neos:Document,!My.Package:Bar
nodeTypeWhitelist: 'Neos.Neos:Document'
# Allows to filter the list of enumerated URLs which should end up in the content store.
#
# This is sometimes needed because the same node is accessed via different URLs, and some URLs are internal and should
# not end up in the content store.
#
# We match the full URL (including hostname and prefix; so like "http://foo.bar/bla") with this regex.
#
# If "FALSE", the blacklisting is disabled.
urlExcludelistRegex: false
# Set to `true` to render relative resource URIs
useRelativeResourceUris: false
# Add full HTTP message to the output of the content store
addHttpMessage: false
extensions:
# Extend Node Rendering by generating additional data for each rendering, interleaved with the content cache.
#
# (must implement DocumentMetadataGeneratorInterface)
# -
# className: Fully\Qualified\Classname
documentMetadataGenerators: []
# Register additional content release writers, being called for every finished node which should be added
# to the content release.
# (must implement ContentReleaseWriterInterface)
contentReleaseWriters:
gzipCompressed:
className: Flowpack\DecoupledContentStore\NodeRendering\Extensibility\ContentReleaseWriters\GzipWriter
legacy:
className: Flowpack\DecoupledContentStore\NodeRendering\Extensibility\ContentReleaseWriters\LegacyWriter
redisKeyPostfixesForEachRelease:
# each content release starts with a fixed prefix "contentRelease:[releaseId]:", and afterwards
# follows a part which needs to be registered here. This is needed for synchronization between different
# content stores and cleanup of old releases.
# the transfer setting can either be a boolean value for all redis content stores or an object that specifies
# *per content store*, if the key should be transferred or not. example for the latter:
# transfer:
# target_live: false
# '*': true
data:
redisKeyPostfix: 'data'
transfer: true
transferMode: 'hash_incremental'
isRequired: true
enumerationDocumentNodes:
redisKeyPostfix: 'enumeration:documentNodes'
transfer: true
transferMode: 'dump'
isRequired: true
inProgressRenderings:
redisKeyPostfix: 'inProgressRenderings'
transfer: false
transferMode: 'dump'
isRequired: false
metainfo:
redisKeyPostfix: 'meta:info'
transfer: true
transferMode: 'dump'
isRequired: true
metaUrls:
redisKeyPostfix: 'meta:urls'
transfer: true
transferMode: 'dump'
isRequired: true
renderedDocuments:
redisKeyPostfix: 'renderedDocuments'
transfer: true
transferMode: 'hash_incremental'
isRequired: true
renderingErrors:
redisKeyPostfix: 'renderingErrors'
transfer: true
transferMode: 'dump'
isRequired: false
renderingJobQueue:
redisKeyPostfix: 'renderingJobQueue'
transfer: false
transferMode: 'dump'
isRequired: false
renderedMetadata:
redisKeyPostfix: 'renderedMetadata'
transfer: true
transferMode: 'hash_incremental'
isRequired: true
renderingStatistics:
redisKeyPostfix: 'renderingStatistics'
transfer: true
transferMode: 'dump'
isRequired: true
# can be used on the consuming site to ensure non-breaking deployments for changes in the config
configEpoch:
current: '1'
previous: ~
resourceSync:
targets: { }
#
# Target configuration for resource publication / sync
#
# -
# host: localhost
# port: ''
# user: ''
# directory: '../nginx/frontend/resources/'
Neos:
Neos:
fusion:
autoInclude:
Flowpack.DecoupledContentStore: true
modules:
'administration':
submodules:
'contentstore':
label: 'Content Store'
controller: 'Flowpack\DecoupledContentStore\Controller\BackendController'
description: 'Decoupled Content Publishing'
icon: 'fas fa-exchange'
mainStylesheet: 'Lite'
Flow:
resource:
targets:
localWebDirectoryStaticResourcesTarget:
target: Flowpack\DecoupledContentStore\Transfer\Resource\Target\MultisiteFileSystemSymlinkTarget
localWebDirectoryPersistentResourcesTarget:
target: Flowpack\DecoupledContentStore\Transfer\Resource\Target\MultisiteFileSystemSymlinkTarget
security:
authentication:
providers:
'Neos.Neos:Backend':
requestPatterns:
'Flowpack.DecoupledContentStore:Controllers':
pattern: 'ControllerObjectName'
patternOptions:
controllerObjectNamePattern: 'Flowpack\DecoupledContentStore\Controller\.*'
mvc:
routes:
'Flowpack.DecoupledContentStore':
position: 'before Neos.Neos'