Add a simple, single-file docker-compose for the control-plane/dashboard/prober host
The existing deploy/docker/docker-compose.yml (+ override/prod, Compose profiles) is flexible but requires understanding profiles and file layering. For a server that only ever runs these three fixed roles against a real OpenStack (VK Cloud) deployment, rxprod-compose/ adds a single flat docker-compose.yml with no profiles — control-api, admin-dashboard and prober wired together directly, both ports published on the host (control-api needs to be reachable by validator-agent running separately on real cloud VMs). OpenStack credentials and the prober's site_id come from a local .env (gitignored; .env.example is the template). Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01NeVbMVEiE7XQAkBd7HQgj6
This commit is contained in:
1 parent
93c79b63ea
commit
399c64e801
3 files changed
+110
No files matched your search
@@ -0,0 +1,21 @@
|
||||
# Скопировать в .env в этой же папке и заполнить реальными значениями —
|
||||
# docker compose сам подхватывает .env из директории compose-файла.
|
||||
#
|
||||
# cp .env.example .env
|
||||
# docker compose up -d --build
|
||||
|
||||
# OpenStack (VK Cloud) креденшлы — control-api.yaml должен быть в
|
||||
# openstack.mode: real.
|
||||
OS_AUTH_URL=
|
||||
OS_PROJECT_ID=
|
||||
OS_REGION_NAME=
|
||||
OS_INTERFACE=
|
||||
OS_TOKEN=
|
||||
# Парольная авторизация вместо токена — вместо OS_TOKEN заполнить эти три:
|
||||
# OS_USERNAME=
|
||||
# OS_USER_DOMAIN_NAME=
|
||||
# OS_PASSWORD=
|
||||
|
||||
# prober — обязателен, должен совпадать с site_id, уже настроенным в
|
||||
# реальном control-api.yaml (validators/sites/targets/ip_addresses).
|
||||
PROBER_SITE_ID=
|
||||
Reference in new issue
Block a user