Refactor Docker setup to include /run/exabgp directory and update ExaBGP configuration. Added named pipes in standard and compatibility locations, ensuring proper initialization for CLI communication.
Build and Push Docker Image / build (push) Successful in 3m41s

This commit is contained in:
2025-07-11 16:21:30 +07:00
parent a7684e03a1
commit 050cf03339
4 changed files with 58 additions and 32 deletions
+15
View File
@@ -42,6 +42,21 @@ docker run -d `
-e BGP_NEIGHBOR_IP=192.168.1.1 `
-e BGP_NEIGHBOR_AS=65001 `
git.shts.su/infra/bgp-server:latest
# Примечание: Если используете старую версию образа, может потребоваться пересборка
# или запуск с дополнительными volume для named pipes:
docker run -d `
--name bgp-server `
--restart unless-stopped `
-p 179:179 `
-v ${PWD}/data:/app/data:ro `
-v ${PWD}/logs:/app/logs `
-v /run/exabgp:/run/exabgp `
-e BGP_LOCAL_AS=65000 `
-e BGP_ROUTER_ID=192.168.1.100 `
-e BGP_NEIGHBOR_IP=192.168.1.1 `
-e BGP_NEIGHBOR_AS=65001 `
git.shts.su/infra/bgp-server:latest
```
### 3. Проверка работы