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
Build and Push Docker Image / build (push) Successful in 3m18s
This commit is contained in:
+10
-1
@@ -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"]
|
||||
Reference in New Issue
Block a user