AlmaLinux OS mirror service.
2.0K
ansible-galaxy collection install community.docker for installing ithttps://github.com/AlmaLinux/mirrors.gitmirrors_serviceci/ansible/inventorytemplate to a new filemirrors_service place an IP of server for deployingcontainer_env_prefix to prod in case of production layout or dev in other cases.sentry_dsn to your DSN key of a Sentry.
Skip this step if you don't have this keydeploy_environment to Production if you deploy
production variant of the service. Otherwise, use Dev or something like this.auth_key to random string. E.g. 124120bydf978g6sd9fgbackend_port to value of port which will be used
for proxying requests from nginx to container. The container will
accept only local connections if you set value of deploy_environment to Production.
Otherwise, the container will accept remote connections.test_ip_address to test IP. This options is work only for non-production layout.uwsgi_address and uwsgi_port. Those are used for starting uwsgi service inside a container.ci/ansibleansible-playbook -vv -i inventory/dev -u <username> --become main.yml, there is <username> is name of a user from a remote server which has sudo rightsThe service uses IP of a incoming request for detecting country and region. Therefore, a location can be different by expected if a server or you are using proxy, vpn, Cloudflare (or something like this). For detecting of location by IP we use GeoIP database from https://www.maxmind.com/en/geoip2-databases. The service returns full list of mirrors if it can't detect your location by IP. Otherwise, it returns list of the ten nearest mirrors. The list make up by following methods:
Example:
Script mirrors_stat.py can collect statistics of using the mirrors service for following url:
/mirrorlist/<version>/<repo>/isos/<arch>/<version>The script puts this statistics to Node Exporter stats files or can print it to stdout.
Use help of the script for more information.
Content type
Image
Digest
Size
366.3 MB
Last updated
about 5 years ago
docker pull almalinux/mirror_service