89 lines
3.7 KiB
Markdown
89 lines
3.7 KiB
Markdown
# mirror.venya.tech
|
||
Набор зеркал репозиториев различного ПО, огороженного от России разработчиками
|
||
|
||
С предложениями и жалобами на какие-нибудь технические сложности просьба писать на `mirror at venya.tech`
|
||
## MongoDB
|
||
### rpm
|
||
В зависимости от требуемой версии MongoDB, замените соответствующие переменные в следующем блоке. Поддерживаются `4.2`/`4.4`/`5.0`/`6.0`:
|
||
|
||
[mongodb-org-6.0]
|
||
name=MongoDB Repository
|
||
baseurl=https://mirror.venya.tech/mirrors/repo.mongodb.org/rpm/redhat/$releasever/mongodb-org/6.0/x86_64/
|
||
gpgcheck=1
|
||
enabled=1
|
||
gpgkey=https://mirror.venya.tech/mirrors/repo.mongodb.org/rpm/server-6.0.asc
|
||
|
||
### deb
|
||
В зависимости от версии дистрибутива Ubuntu и требуемой версии MongoDB, замените соответствующие переменные в следующей строке. Поддерживаются `xenial`/`bionic`/`focal` и `4.2`/`4.4`/`5.0`/`6.0` соответственно
|
||
|
||
echo "deb [ arch=amd64 ] https://mirror.venya.tech/mirrors/repo.mongodb.org/deb/ubuntu focal/mongodb-org/6.0 multiverse" | sudo tee /etc/apt/sources.list.d/mongodb-org-6.0.list
|
||
|
||
|
||
|
||
## Grafana
|
||
### rpm
|
||
[grafana]
|
||
name=grafana
|
||
baseurl=https://mirror.venya.tech/mirrors/grafana/rpm/
|
||
enabled=1
|
||
gpgcheck=1
|
||
gpgkey=https://mirror.venya.tech/mirrors/grafana/rpm/gpg.key
|
||
sslverify=1
|
||
sslcacert=/etc/pki/tls/certs/ca-bundle.crt
|
||
### deb
|
||
sudo apt-get install -y apt-transport-https
|
||
sudo apt-get install -y software-properties-common wget
|
||
sudo wget -q -O /usr/share/keyrings/grafana.key https://mirror.venya.tech/mirrors/grafana/rpm/gpg.key
|
||
|
||
echo "deb [signed-by=/usr/share/keyrings/grafana.key] https://mirror.venya.tech/mirrors/grafana/deb/ stable main" | sudo tee -a /etc/apt/sources.list.d/grafana.list
|
||
|
||
## ELK (Elastic/Logstash/Kibana/etc.)
|
||
В зависимости от требуемой версии сервисов, замените соответствующие переменные в следующих блоках. Поддерживаются `5.x`/`6.x`/`7.x`/`8.x`:
|
||
### rpm
|
||
[elasticsearch-8.x]
|
||
name=Elasticsearch repository for 8.x packages
|
||
baseurl=https://mirror.venya.tech/mirrors/artifacts.elastic.co/rpm/8.x/
|
||
gpgcheck=1
|
||
gpgkey=https://mirror.venya.tech/mirrors/artifacts.elastic.co/GPG-KEY-elasticsearch
|
||
enabled=1
|
||
autorefresh=1
|
||
type=rpm-md
|
||
|
||
|
||
### deb
|
||
wget -qO - https://mirror.venya.tech/mirrors/artifacts.elastic.co/GPG-KEY-elasticsearch | sudo apt-key add -
|
||
sudo apt-get install apt-transport-https
|
||
echo "deb https://mirror.venya.tech/mirrors/artifacts.elastic.co/deb/8.x/apt stable main" | sudo tee -a /etc/apt/sources.list.d/elastic-8.x.list
|
||
|
||
## Terraform
|
||
### Документация
|
||
https://terraform-registry.venya.tech/
|
||
|
||
### Файлы
|
||
https://terraform-releases.venya.tech/
|
||
|
||
### Пример подключения в своём терраформе
|
||
|
||
В файле `main.tf` указываем ссылку на нужный провайдер
|
||
|
||
terraform {
|
||
required_providers {
|
||
aws = {
|
||
source = "terraform-registry.venya.tech/hashicorp/aws"
|
||
}
|
||
}
|
||
}
|
||
|
||
Либо глобально для всего терраформа
|
||
|
||
❯ cat ~/.terraformrc
|
||
provider_installation {
|
||
network_mirror {
|
||
url = "https://terraform-registry.venya.tech/"
|
||
include = ["registry.terraform.io/*/*"]
|
||
}
|
||
direct {
|
||
exclude = ["registry.terraform.io/*/*"]
|
||
}
|
||
}
|