init: server build project template
This commit is contained in:
@@ -0,0 +1,38 @@
|
||||
# Каталог комплектующих. Одна позиция = один компонент.
|
||||
# links: можно указать несколько ссылок на разные магазины.
|
||||
items:
|
||||
- id: cpu-epyc-7443p
|
||||
category: CPU
|
||||
name: "AMD EPYC 7443P"
|
||||
price: 130000
|
||||
links:
|
||||
- { title: "DNS", url: "https://www.dns-shop.ru/" }
|
||||
- { title: "Citilink", url: "https://www.citilink.ru/" }
|
||||
|
||||
- id: ram-ddr4-ecc-32
|
||||
category: RAM
|
||||
name: "Samsung DDR4 ECC 32GB"
|
||||
price: 18000
|
||||
links:
|
||||
- { title: "DNS", url: "https://www.dns-shop.ru/" }
|
||||
|
||||
- id: mb-romed8-2t
|
||||
category: Motherboard
|
||||
name: "ASRock Rack ROMED8-2T"
|
||||
price: 65000
|
||||
links:
|
||||
- { title: "ServerFlow", url: "https://serverflow.ru/" }
|
||||
|
||||
- id: case-4u
|
||||
category: Case
|
||||
name: "4U Rackmount 24-bay"
|
||||
price: 35000
|
||||
links:
|
||||
- { title: "AliExpress", url: "https://aliexpress.ru/" }
|
||||
|
||||
- id: psu-1200w
|
||||
category: PSU
|
||||
name: "Seasonic 1200W Platinum"
|
||||
price: 25000
|
||||
links:
|
||||
- { title: "DNS", url: "https://www.dns-shop.ru/" }
|
||||
@@ -0,0 +1,18 @@
|
||||
# Узлы и их состав. qty — количество, price — опционально переопределить цену из каталога.
|
||||
nodes:
|
||||
- id: node-1
|
||||
name: "Hypervisor"
|
||||
role: "Виртуализация"
|
||||
items:
|
||||
- { component_id: cpu-epyc-7443p, qty: 1 }
|
||||
- { component_id: ram-ddr4-ecc-32, qty: 8 }
|
||||
- { component_id: mb-romed8-2t, qty: 1 }
|
||||
- { component_id: case-4u, qty: 1 }
|
||||
- { component_id: psu-1200w, qty: 2 }
|
||||
|
||||
- id: node-2
|
||||
name: "NAS"
|
||||
role: "Хранилище"
|
||||
items:
|
||||
- { component_id: case-4u, qty: 1 }
|
||||
- { component_id: psu-1200w, qty: 1 }
|
||||
@@ -0,0 +1,9 @@
|
||||
# Источники цен. fetch_prices.py может ходить на эти URL.
|
||||
currency: RUB
|
||||
sources:
|
||||
- { id: dns, name: "DNS", base: "https://www.dns-shop.ru/" }
|
||||
- { id: citilink, name: "Citilink", base: "https://www.citilink.ru/" }
|
||||
- { id: serverflow,name: "ServerFlow",base: "https://serverflow.ru/" }
|
||||
# Таблица переопределений (если хочешь фиксировать цену вручную):
|
||||
overrides:
|
||||
# cpu-epyc-7443p: 125000
|
||||
Reference in New Issue
Block a user