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
Build and Push Docker Image / build (push) Successful in 3m41s
This commit is contained in:
@@ -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. Проверка работы
|
||||
|
||||
Reference in New Issue
Block a user