Skip to content

Instantly share code, notes, and snippets.

View snoby's full-sized avatar

Snoby snoby

  • Roswell, Ga.
  • 06:36 (UTC -04:00)
View GitHub Profile
variable "proxmox_host_node" {
type = string
}
variable "proxmox_password" {
type = string
sensitive = true
}
@snoby
snoby / Dockefile_radiant
Created December 10, 2022 17:44
Dockerfile for radiant
# The Radiant Blockchain Developers
# The purpose of this image is to be able to host Radiant Node (RADN) and electrumx
# Build with: `docker build .`
# Public images at: https://hub.docker.com/repository/docker/radiantblockchain
FROM ubuntu:20.04 as BUILDER
LABEL maintainer="[email protected]"
LABEL version="1.2.0"
LABEL description="Docker image for radiantd node"
resolvers vipordns
hold valid 60s
defaults
mode tcp
timeout connect 30s
timeout client 1m
timeout server 1m
frontend public-stratum
FROM ubuntu:22.04 AS base
RUN apt update && DEBIAN_FRONTEND=nointeractive apt install --no-install-recommends -y \
libcurl4-openssl-dev \
wget bash net-tools \
libevent-dev \
uthash-dev \
libboost-chrono-dev \
libboost-filesystem-dev \
libboost-test-dev \
@snoby
snoby / hive_os_install.sh
Last active December 4, 2023 19:11
install into hiveos to allow GPU's to be passed to docker container
#!/bin/bash
set -x
apt update -y && apt install gpg sed curl sudo -y
nvidia-driver-update --version 535.113.01
distribution=$(. /etc/os-release;echo $ID$VERSION_ID) \
&& curl -fsSL https://nvidia.github.io/libnvidia-container/gpgkey | sudo gpg --dearmor -o /usr/share/keyrings/nvidia-container-toolkit-keyring.gpg \
@snoby
snoby / run_abel.sh
Created November 29, 2023 03:27
Docker run command for abel miner
#!/bin/bash
USERNAME=e4003cb89d30389a94563aa3e946cace4552273b5b8ce0e32d0f6223f67f0a13
PASSWORD=vrIUJCLJ5x
docker run -d --name=abel \
--rm \
-e USERNAME=e4003cb89d30389a94563aa3e946cace4552273b5b8ce0e32d0f6223f67f0a13 \
-e PASSWORD=vrIUJCLJ5x \
-e NVIDIA_VISIBLE_DEVICES=all \