Skip to content

Instantly share code, notes, and snippets.

View Javiseeker's full-sized avatar

Javier Felix Alonso Lopez Javiseeker

View GitHub Profile
@Javiseeker
Javiseeker / docker-compose.yml
Created June 25, 2021 02:44
Docker-compose file that creates a Private IPFS Node Network with a Cluster.
networks:
vpcbr:
driver: bridge
ipam:
config:
- subnet: 10.5.0.0/16
services:
# ipfs peer/node0 only one in charge of adding data for cluster0
@Javiseeker
Javiseeker / tye.yaml
Created July 9, 2021 21:09
Tye.yaml file to instance an IPFS Cluster and its corresponding IPFS Node.
name: ipfsClusterPod
services:
- name: ipfsNode
replicas: 1 # number of times to launch the application
image: ipfs/go-ipfs:latest
env: # array of environment variables
# - name: IPFS_SWARM_KEY
# value: /key/swarm/psk/1.0.0/b87ba5d2a00e1fb91d386411639897605e39813b054c434fe9b6fc60aab07ea5
- name: IPFS_LOGGING
value: debug
@Javiseeker
Javiseeker / go.mod
Last active August 31, 2021 21:02
go script to fetch Twilio credentials for STUN and TURN servers. By default the credentials last for 1 day before requesting again.
module github.com/twilio-test/trying
go 1.16
require github.com/twilio/twilio-go v0.10.0