Enhance Docker setup with ExaBGP CLI support and troubleshooting steps. Added named pipes for CLI communication, updated configuration file, and included validation checks for prefixes.txt file creation.
Build and Push Docker Image / build (push) Successful in 3m10s

This commit is contained in:
2025-07-11 16:15:59 +07:00
parent f4050a5839
commit a7684e03a1
3 changed files with 47 additions and 2 deletions
+8
View File
@@ -8,6 +8,14 @@ echo "Starting BGP Server..."
# Создание директорий если не существуют
mkdir -p /app/logs
mkdir -p /app/run
# Создание named pipes для CLI
if [ ! -p "/app/run/exabgp.in" ] || [ ! -p "/app/run/exabgp.out" ]; then
echo "Creating named pipes for ExaBGP CLI..."
mkfifo /app/run/exabgp.in /app/run/exabgp.out
chmod 600 /app/run/exabgp.in /app/run/exabgp.out
fi
# Проверка наличия файлов с префиксами
if [ ! -f "/app/data/prefixes.txt" ]; then