Skip to content

Instantly share code, notes, and snippets.

View EmbeddedAndroid's full-sized avatar

0x1 EmbeddedAndroid

View GitHub Profile
registry:
image: registry:2
ports:
- 5000:5000
@EmbeddedAndroid
EmbeddedAndroid / docker-compose.yml
Created October 5, 2017 05:27
Registry Example
registry:
image: registry:2
ports:
- 5000:5000
@EmbeddedAndroid
EmbeddedAndroid / haven.txt
Last active April 20, 2018 21:00
Install a Haven Full Node Wallet
1) Install Docker - https://docs.docker.com/install/
2) Create your blockchain and wallet volume mounts (This will store your persistent data)
2a) mkdir /home/user/blockchain/haven
2b) mkdir /home/user/wallet/haven
3) Start havend
3a) docker run -dit --name havend --restart=always -v /home/user/blockchains/haven:/root/.haven -v /home/user/wallets/haven:/wallet cryptowallets/havend:latest
4) Monitor havend sync status
4a) docker logs -f havend
5) Access your wallet
5a) docker exec -ti havend /bin/bash -c 'cd /wallet && haven-wallet-cli'
@EmbeddedAndroid
EmbeddedAndroid / docker-compose.yml
Created December 5, 2018 00:39
Simple MQTT IOTA Data Stream
version: '3'
services:
mosquitto:
image: opensourcefoundries/simple-mosquitto-broker:latest
read_only: true
restart: always
network_mode: "host"
iota-mqtt:
image: miota/iota-mqtt-broker:latest
#!/usr/bin/env python3
# Copyright (c) 2018 Foundries.io
#
# SPDX-License-Identifier: Apache-2.0
import argparse
from collections import namedtuple
import struct
@EmbeddedAndroid
EmbeddedAndroid / jtest-pipeline-example.sh
Last active July 2, 2019 19:03
jtest pipeline example
#!/bin/bash
set -eu
echo "steps:"
for TEST in $TESTS; do
cat <<EOF
- trigger: "jtest"
label: "${TARGET}-${TEST}-${FW_VER}"
@EmbeddedAndroid
EmbeddedAndroid / docker-compose.yml
Created March 27, 2020 18:14
FoundriesFactory Reverse Tunnel Docker-Compose
version: '3.2'
services:
rtunnel:
image: foundries/rtunnel-sshd:latest
restart: always
tty: true
network_mode: "host"
command: "<foundries.io api token>"
volumes:
@EmbeddedAndroid
EmbeddedAndroid / sshtun.dockerapp
Last active March 27, 2020 18:23
SSH Reverse Tunnel Docker App
version: 0.1.0
name: sshtun
description: Reverse SSH Tunnelling Docker App
---
version: '3.2'
services:
sshtun:
@EmbeddedAndroid
EmbeddedAndroid / Dockerfile
Created March 27, 2020 18:28
SSH Reverse Tunnel Dockerfile
FROM alpine:3.11
RUN apk add --no-cache autossh openssh-client
COPY entrypoint.sh /bin/entrypoint
RUN chmod a+x /bin/entrypoint
ENTRYPOINT ["entrypoint"]
@EmbeddedAndroid
EmbeddedAndroid / Dockerfile
Created March 27, 2020 18:28
SSH Reverse Tunnel Dockerfile
FROM alpine:3.11
RUN apk add --no-cache autossh openssh-client
COPY entrypoint.sh /bin/entrypoint
RUN chmod a+x /bin/entrypoint
ENTRYPOINT ["entrypoint"]