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
8 changes: 6 additions & 2 deletions compose/docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,10 @@ services:
# Learn more at https://help.probely.com/en/articles/6503388-how-to-install-a-scanning-agent
#
# FARCASTER_API_URL
# Probely's API URL
# Probely's API URL. If not set, the Agent will use the API URLs for all regions.
#
# FARCASTER_FORCE_TCP
# If set to true, the Agent will use TCP to connect to Probely.
#
# HTTP_PROXY (optional)
# An advanced option that can be used to configure an HTTP proxy for the Agent to connect to Probely.
Expand All @@ -25,7 +28,8 @@ services:
tmpfs:
- /run
cap_add:
- NET_ADMIN
# Required for kernel support. If you remove this, the Agent will fall back to a userspace TCP/IP stack.
- NET_ADMIN
restart: unless-stopped

volumes:
Expand Down
18 changes: 1 addition & 17 deletions contrib/kubernetes/agent-depl.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,18 +13,6 @@ spec:
labels:
app: farcaster-agent
spec:
initContainers:
- name: init
image: busybox:stable
command:
- sh
- -c
- sysctl -w net.ipv4.ip_forward=1 && sysctl -w net.ipv4.conf.all.forwarding=1
securityContext:
privileged: true
capabilities:
add:
- NET_ADMIN
containers:
- name: agent
image: probely/farcaster-onprem-agent:v3
Expand All @@ -35,16 +23,12 @@ spec:
secretKeyRef:
name: farcaster-secrets
key: token
- name: DISABLE_FIREWALL
value: "0"
resources:
requests:
cpu: "1"
memory: "128Mi"
securityContext:
capabilities:
add:
- SETUID
allowPrivilegeEscalation: false
volumeMounts:
- name: run-tmpfs
mountPath: /run
Expand Down