Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions ansible/roles/testlists/tasks/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -91,6 +91,7 @@
- name: Ensure testlists is running
community.docker.docker_container:
env:
APP_NAME: "testlists"
PROMETHEUS_METRICS_PASSWORD: "{{ prometheus_metrics_password }}"
CLICKHOUSE_URL: "{{ clickhouse_url }}"
JWT_ENCRYPTION_KEY: "{{ jwt_encryption_key }}"
Expand Down
4 changes: 3 additions & 1 deletion tf/modules/ooniapi_service/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -69,8 +69,10 @@ resource "aws_ecs_task_definition" "ooniapi_service" {
}
],

# APP_NAME is used by the API services to tag their clickhouse queries
# (log_comment), so we can tell them apart in system.query_log
environment = [
for k, v in var.task_environment : {
for k, v in merge({ APP_NAME = var.service_name }, var.task_environment) : {
name = k,
value = v
}
Expand Down
Loading