feat: enhance evobgp with new command-line tools for bundle management, including pull, verify, and apply functionalities. Update go.mod to include necessary dependencies and complete todos in architecture plan for improved observability and deployment practices.
This commit is contained in:
@@ -0,0 +1,41 @@
|
||||
# Устаревший минимальный стек только bird2 + agent. Полные профили reference / microvps:
|
||||
# docker compose --profile reference up -d --build -f deploy/compose/docker-compose.yaml
|
||||
# docker compose --profile microvps up -d --build -f deploy/compose/docker-compose.yaml
|
||||
#
|
||||
# Для входящего BGP (TCP/179) на Linux часто нужен network_mode: host или macvlan — см. план §4.1.
|
||||
name: evobgp-bgp-stack
|
||||
|
||||
services:
|
||||
bird2:
|
||||
build:
|
||||
context: ../..
|
||||
dockerfile: deploy/docker/bird2/Dockerfile
|
||||
restart: unless-stopped
|
||||
cap_add:
|
||||
- NET_ADMIN
|
||||
volumes:
|
||||
- bird_etc:/etc/bird
|
||||
- bird_run:/run/bird
|
||||
# network_mode: "host" # раскомментируйте при анонсе BGP с хоста
|
||||
|
||||
evobgp-agent:
|
||||
build:
|
||||
context: ../..
|
||||
dockerfile: deploy/docker/evobgp-agent/Dockerfile
|
||||
restart: unless-stopped
|
||||
depends_on:
|
||||
- bird2
|
||||
cap_add:
|
||||
- NET_ADMIN
|
||||
volumes:
|
||||
- bird_etc:/etc/bird
|
||||
- bird_run:/run/bird
|
||||
entrypoint: ["/bin/sleep"]
|
||||
command: ["infinity"]
|
||||
# Примеры (exec в контейнере sidecar):
|
||||
# docker compose -f ... exec evobgp-agent /usr/local/bin/evobgp-agent parse-check /etc/bird/bird.conf
|
||||
# docker compose -f ... exec evobgp-agent /usr/local/bin/evobgp-agent configure
|
||||
|
||||
volumes:
|
||||
bird_etc:
|
||||
bird_run:
|
||||
Reference in New Issue
Block a user