0
0
mirror of https://github.com/PostHog/posthog.git synced 2024-11-24 18:07:17 +01:00
posthog/task-definition.plugins.json
Marius Andra b48f70a741
Plugin server 0.9.1 (#3376)
* upgrade plugin server to 0.9.1

* remove KAFKA_BATCH_PARALELL_PROCESSING from ecs that had a typo and is now true by default
2021-02-18 11:28:03 +01:00

109 lines
4.5 KiB
JSON

{
"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": "PLUGIN_SERVER_INGESTION",
"value": "true"
},
{
"name": "BILLING_TRIAL_DAYS",
"value": "0"
},
{
"name": "BILLING_NO_PLAN_EVENT_ALLOCATION",
"value": "10000"
}
],
"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": "STATSD_HOST",
"valueFrom": "arn:aws:secretsmanager:us-east-1:795637471508:secret:Posthog_Production_Heroku-FQ2itU:STATSD_HOST::"
}
],
"entryPoint": ["./bin/plugin-server"]
}
],
"requiresCompatibilities": ["FARGATE"],
"cpu": "4096",
"memory": "8192"
}