Skip to content
This repository was archived by the owner on Feb 25, 2025. It is now read-only.
Open
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 Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ RUN apk add --no-cache \
sed \
socat \
bind-tools \
aws-cli \
;

ENV RSYSLOG=y
Expand Down
2 changes: 1 addition & 1 deletion render_cfg.sh
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ else

# Resolve DNS
for _service in ${service//,/ }; do
dig $_service 2>/dev/null | grep ^$_service | awk '{print $5}'
aws servicediscovery list-instances --service-id $_service --query 'Instances[].Attributes.AWS_INSTANCE_IPV4' --output text --region eu-west-1
done | sort | paste -sd ',' > $tmpfile
if [ $(wc -c $tmpfile | gawk '{print $1}') -eq 0 ]; then
rm $tmpfile
Expand Down