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:
1 parent
d795a9ec7d
commit
699cb4b5ba
5 files changed
+184
-3
No files matched your search
+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