npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2024 – Pkg Stats / Ryan Hefner

docker-on-golem

v0.1.0

Published

A CLI utility that deploys Docker Swarm on top of Golem Network

Downloads

12

Readme

Docker on Golem

About this project

This project aims to build up a docker swarm that will utilize the resources rented from Providers available within the Golem Network.

THe general idea is that as a user of this project, you should be able to:

  1. Request a defined amount of resources from the Providers on Golem Network
  2. The tool will deploy and configure the Docker Swarm for you
  3. You adda a docker context to your local Docker node
  4. You execute docker based workloads on the swarm deployed on top of Golem Network's resources

How to use it (as a Requestor)?

Installation

After you have installed yagna on your system by following the official installation guide.

npm i -g docker-on-golem@latest

Once you installed the tool, you can explore the available options using the help command

docker-on-golem --help

Usage

You can deploy your Docker Swarm using the following command:

docker-on-golem -k [your-yagna-app-key]
# You can use more options to fine tune the setup, check --help to explore the possibilities

Then, you can add a new docker context to your local docker configuration, to point the CLI to the swarm deployed on top of Golem Network:

docker context create golem-swarm --docker "host=tcp://localhost:3375"
docker context use golem-swarm

Now you should be able to use docker, docker compose or docker stack with this cluster.

How can I join the project as a Provider?

In order to become a Provider that's eligible (selectable), you will have to add few URLs to the whitelist on your provider nodes. You can use the following instructions.

Provider Requirements

  • Runtime name: vm
  • Runtime version: 0.4.2

Add outbound URLs to whitelist

ya-provider whitelist add -p registry-1.docker.io -t strict

...