Enhance Docker setup and scripts by adding default environment variables for BGP configuration, improving the update process with safe and quick update options, and implementing testing capabilities in the prefix loader script. Update start.sh to include permission checks and network connectivity validation during ExaBGP startup.
Build and Push Docker Image / build (push) Successful in 3m18s

This commit is contained in:
2025-07-11 17:20:30 +07:00
parent d795a9ec7d
commit 699cb4b5ba
5 changed files with 184 additions and 3 deletions
+10 -1
View File
@@ -29,5 +29,14 @@ WORKDIR /app
# Открытие BGP порта
EXPOSE 179
# Установка переменных окружения по умолчанию
ENV BGP_LOCAL_AS=65000
ENV BGP_ROUTER_ID=192.168.1.100
ENV BGP_NEIGHBOR_IP=192.168.1.1
ENV BGP_NEIGHBOR_AS=65001
ENV BGP_HOLD_TIME=90
ENV BGP_KEEPALIVE=30
ENV BGP_LOG_LEVEL=INFO
# Команда запуска
CMD ["/app/scripts/start.sh"]
ENTRYPOINT ["/app/scripts/start.sh"]