Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update fargate documentation #2342

Merged
merged 1 commit into from
Oct 22, 2024
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
3 changes: 2 additions & 1 deletion deepfence_agent/agent-binary/Dockerfile.fargate
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
FROM alpine:3.19 as builder

ARG AGENT_BINARY_BUILD_RELATIVE
# renovate: source=github-tags name=curl/curl versioning=regex:^(?:curl-)?(?<major>\d+)_(?<minor>\d+)_(?<patch>\d+)$ extractVersion=^(?:curl-)?(?<version>[\d_]+)$
ENV CURL_VERSION="8_5_0"

Expand Down Expand Up @@ -111,6 +110,8 @@ RUN set -x \

FROM scratch

ARG AGENT_BINARY_BUILD_RELATIVE

LABEL MAINTAINER="Deepfence Inc"
LABEL deepfence.role=system

Expand Down
Binary file modified docs/docs/img/fargate-task-3.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
21 changes: 16 additions & 5 deletions docs/docs/sensors/aws-fargate.md
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,7 @@ If you are using json to configure your task definitions, you can use the follow
},
{
"name": "DF_INSTALL_DIR",
"value": "/path/to/custom/install/dir"
"value": "/deepfence"
},
{
"name": "MGMT_CONSOLE_URL_SCHEMA",
Expand Down Expand Up @@ -302,7 +302,8 @@ Then create the new policy.
"name": "python-8000-tcp",
"containerPort": 8000,
"hostPort": 8000,
"protocol": "tcp"
"protocol": "tcp",
"appProtocol": "http"
}
],
"essential": true,
Expand All @@ -329,7 +330,7 @@ Then create the new policy.
},
{
"name": "DF_INSTALL_DIR",
"value": "/usr/local/bin"
"value": "/deepfence"
},
{
"name": "MGMT_CONSOLE_URL_SCHEMA",
Expand All @@ -353,13 +354,21 @@ Then create the new policy.
"valueFrom": "<API_KEY_SECRET_ARN>:deepfence_api_key::"
}
],
"dependsOn": [
{
"containerName": "deepfence-agent",
"condition": "COMPLETE"
}
],
"logConfiguration": {
"logDriver": "awslogs",
"options": {
"awslogs-create-group": "true",
"awslogs-group": "/ecs/test-doc-python",
"awslogs-region": "us-west-2",
"awslogs-stream-prefix": "ecs"
"awslogs-stream-prefix": "ecs",
"mode": "non-blocking",
"max-buffer-size": "25m"
}
}
},
Expand All @@ -379,7 +388,9 @@ Then create the new policy.
"awslogs-create-group": "true",
"awslogs-group": "/ecs/test-doc-python",
"awslogs-region": "us-west-2",
"awslogs-stream-prefix": "ecs"
"awslogs-stream-prefix": "ecs",
"mode": "non-blocking",
"max-buffer-size": "25m"
}
}
}
Expand Down
Loading