forked from PostHog/posthog
-
Notifications
You must be signed in to change notification settings - Fork 0
/
task-definition.plugins.json
151 lines (151 loc) · 5.94 KB
/
task-definition.plugins.json
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
{
"family": "posthog-production-plugins",
"networkMode": "awsvpc",
"executionRoleArn": "posthog-production-ecs-task",
"taskRoleArn": "posthog-production-ecs-task",
"containerDefinitions": [
{
"name": "posthog-production-plugins",
"logConfiguration": {
"logDriver": "awslogs",
"options": {
"awslogs-group": "awslogs-posthog-production",
"awslogs-region": "us-east-1",
"awslogs-stream-prefix": "posthog-production-plugins"
}
},
"essential": true,
"environment": [
{
"name": "CLICKHOUSE_DATABASE",
"value": "posthog"
},
{
"name": "CLICKHOUSE_SECURE",
"value": "True"
},
{
"name": "CLICKHOUSE_VERIFY",
"value": "True"
},
{
"name": "KAFKA_ENABLED",
"value": "True"
},
{
"name": "SITE_URL",
"value": "https://app.posthog.com"
},
{
"name": "BILLING_TRIAL_DAYS",
"value": "0"
},
{
"name": "BILLING_NO_PLAN_EVENT_ALLOCATION",
"value": "10000"
},
{
"name": "TRUST_ALL_PROXIES",
"value": "True"
},
{
"name": "NODE_OPTIONS",
"value": "--max-old-space-size=4096"
},
{
"name": "STALENESS_RESTART_SECONDS",
"value": "300"
},
{
"name": "JOB_QUEUES",
"value": "graphile"
},
{
"name": "CRASH_IF_NO_PERSISTENT_JOB_QUEUE",
"value": "0"
},
{
"name": "CAPTURE_INTERNAL_METRICS",
"value": "True"
},
{
"name": "PLUGIN_SERVER_ACTION_MATCHING",
"value": "1"
},
{
"name": "PISCINA_ATOMICS_TIMEOUT",
"value": "3000"
},
{
"name": "USING_PGBOUNCER",
"value": "True"
},
{
"name": "PERSISTED_FEATURE_FLAGS",
"value": "0"
}
],
"secrets": [
{
"name": "CLICKHOUSE_CA",
"valueFrom": "arn:aws:secretsmanager:us-east-1:795637471508:secret:Posthog_Production_Heroku-FQ2itU:CLICKHOUSE_CA::"
},
{
"name": "CLICKHOUSE_HOST",
"valueFrom": "arn:aws:secretsmanager:us-east-1:795637471508:secret:Posthog_Production_Heroku-FQ2itU:CLICKHOUSE_HOST::"
},
{
"name": "CLICKHOUSE_PASSWORD",
"valueFrom": "arn:aws:secretsmanager:us-east-1:795637471508:secret:Posthog_Production_Heroku-FQ2itU:CLICKHOUSE_PASSWORD::"
},
{
"name": "DATABASE_URL",
"valueFrom": "arn:aws:secretsmanager:us-east-1:795637471508:secret:Posthog_Production_Heroku-FQ2itU:DATABASE_URL::"
},
{
"name": "KAFKA_CLIENT_CERT_B64",
"valueFrom": "arn:aws:secretsmanager:us-east-1:795637471508:secret:Posthog_Production_Heroku-FQ2itU:KAFKA_CLIENT_CERT_B64::"
},
{
"name": "KAFKA_CLIENT_CERT_KEY_B64",
"valueFrom": "arn:aws:secretsmanager:us-east-1:795637471508:secret:Posthog_Production_Heroku-FQ2itU:KAFKA_CLIENT_CERT_KEY_B64::"
},
{
"name": "KAFKA_TRUSTED_CERT_B64",
"valueFrom": "arn:aws:secretsmanager:us-east-1:795637471508:secret:Posthog_Production_Heroku-FQ2itU:KAFKA_TRUSTED_CERT_B64::"
},
{
"name": "KAFKA_HOSTS",
"valueFrom": "arn:aws:secretsmanager:us-east-1:795637471508:secret:Posthog_Production_Heroku-FQ2itU:KAFKA_HOSTS::"
},
{
"name": "POSTHOG_PERSONAL_API_KEY",
"valueFrom": "arn:aws:secretsmanager:us-east-1:795637471508:secret:Posthog_Production_Heroku-FQ2itU:POSTHOG_PERSONAL_API_KEY::"
},
{
"name": "REDIS_URL",
"valueFrom": "arn:aws:secretsmanager:us-east-1:795637471508:secret:Posthog_Production_Heroku-FQ2itU:REDIS_URL::"
},
{
"name": "SENTRY_DSN",
"valueFrom": "arn:aws:secretsmanager:us-east-1:795637471508:secret:Posthog_Production_Heroku-FQ2itU:SENTRY_DSN_PLUGIN_SERVER::"
},
{
"name": "JOB_QUEUE_GRAPHILE_URL",
"valueFrom": "arn:aws:secretsmanager:us-east-1:795637471508:secret:Posthog_Production_Heroku-FQ2itU:JOB_QUEUE_GRAPHILE_URL::"
},
{
"name": "STATSD_HOST",
"valueFrom": "arn:aws:secretsmanager:us-east-1:795637471508:secret:Posthog_Production_Heroku-FQ2itU:STATSD_HOST::"
}
],
"entryPoint": ["./bin/plugin-server", "--no-restart-loop"],
"linuxParameters": {
"initProcessEnabled": true
}
}
],
"requiresCompatibilities": ["FARGATE"],
"cpu": "4096",
"memory": "16384"
}