-
-
Notifications
You must be signed in to change notification settings - Fork 4
Expand file tree
/
Copy pathwebcm.config.ts.docker-example
More file actions
29 lines (29 loc) · 873 Bytes
/
webcm.config.ts.docker-example
File metadata and controls
29 lines (29 loc) · 873 Bytes
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
export default {
// The Managed Components to load, with their settings and permissions
components: [
{
name: 'posthog',
settings: {
ecommerce: false,
POSTHOG_API_KEY: '******',
POSTHOG_PROJECT_ID: '******',
POSTHOG_URL: 'https://eu-proxy-direct.i.posthog.com',
},
permissions: [
'access_client_kv',
'provide_server_functionality',
'provide_widget',
],
},
],
// The target server URL to proxy
target: 'http://192.168.1.1:8080',
// The hostname to which WebCM should bind
hostname: 'webcm',
// The tracking URL will get all POST requests coming from `webcm.track`
trackPath: '/webcm/track',
// The port WebCM should listen to
port: 8787,
// Optional: hash key to make sure cookies set by WebCM aren't tampered with
cookiesKey: 'something-very-secret',
}