2020-12-16 03:10:00 +01:00
|
|
|
{
|
|
|
|
"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": [
|
2021-02-04 16:34:52 +01:00
|
|
|
{
|
|
|
|
"name": "CLICKHOUSE_DATABASE",
|
|
|
|
"value": "posthog"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "CLICKHOUSE_SECURE",
|
|
|
|
"value": "True"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "CLICKHOUSE_VERIFY",
|
|
|
|
"value": "True"
|
|
|
|
},
|
2020-12-16 03:10:00 +01:00
|
|
|
{
|
2021-01-13 11:46:56 +01:00
|
|
|
"name": "KAFKA_ENABLED",
|
2020-12-16 03:10:00 +01:00
|
|
|
"value": "True"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "SITE_URL",
|
|
|
|
"value": "https://app.posthog.com"
|
2021-02-04 20:25:59 +01:00
|
|
|
},
|
2021-02-11 18:42:39 +01:00
|
|
|
{
|
|
|
|
"name": "BILLING_TRIAL_DAYS",
|
|
|
|
"value": "0"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "BILLING_NO_PLAN_EVENT_ALLOCATION",
|
|
|
|
"value": "10000"
|
2021-03-23 21:12:06 +01:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "TRUST_ALL_PROXIES",
|
|
|
|
"value": "True"
|
2021-04-15 17:58:29 +02:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "NODE_MAX_HEAP_SIZE",
|
|
|
|
"value": "4096"
|
2020-12-16 03:10:00 +01:00
|
|
|
}
|
|
|
|
],
|
|
|
|
"secrets": [
|
2021-02-04 16:34:52 +01:00
|
|
|
{
|
|
|
|
"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::"
|
|
|
|
},
|
2020-12-16 03:10:00 +01:00
|
|
|
{
|
|
|
|
"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::"
|
|
|
|
},
|
|
|
|
{
|
2021-01-22 15:18:16 +01:00
|
|
|
"name": "KAFKA_HOSTS",
|
|
|
|
"valueFrom": "arn:aws:secretsmanager:us-east-1:795637471508:secret:Posthog_Production_Heroku-FQ2itU:KAFKA_HOSTS::"
|
2020-12-16 03:10:00 +01:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"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",
|
2021-01-13 11:46:56 +01:00
|
|
|
"valueFrom": "arn:aws:secretsmanager:us-east-1:795637471508:secret:Posthog_Production_Heroku-FQ2itU:SENTRY_DSN_PLUGIN_SERVER::"
|
2020-12-16 03:10:00 +01:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "STATSD_HOST",
|
|
|
|
"valueFrom": "arn:aws:secretsmanager:us-east-1:795637471508:secret:Posthog_Production_Heroku-FQ2itU:STATSD_HOST::"
|
|
|
|
}
|
2021-03-01 13:43:43 +01:00
|
|
|
],
|
|
|
|
"entryPoint": ["./bin/plugin-server"]
|
2020-12-16 03:10:00 +01:00
|
|
|
}
|
|
|
|
],
|
|
|
|
"requiresCompatibilities": ["FARGATE"],
|
2020-12-16 03:34:01 +01:00
|
|
|
"cpu": "4096",
|
2021-04-15 16:15:35 +02:00
|
|
|
"memory": "16384"
|
2020-12-16 03:10:00 +01:00
|
|
|
}
|