This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
version: '3.7' | |
services: | |
# COMMENT FOR YOUR DOCKER SWARM | |
# for this to work: | |
# constraints you need to register a label for each computer in the swarm. | |
# you need to have initialized a swarm https://docs.docker.com/engine/reference/commandline/swarm_init/ and made workers join it | |
# then you need to label the manager and the workers with docker node update --label-add comp=yourcomputertodeploy id_of_your_node | |
# you need to set CNODEIP with your public ip. | |
# you need to set published port to ports you have open on the local computer your deploying too and router/internet of that computer |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
FROM ubuntu:19.10 AS builder | |
ENV NODE_VERSION="1.11.0" | |
ENV CABAL_VERSION="cabal-install-3.0" | |
ENV GHC_VERSION="ghc-8.6.5" | |
ENV PATH=/usr/sbin:/usr/bin:/usr/local/bin:/sbin:/bin:/opt/cabal/bin:/opt/ghc/bin/ | |
RUN apt update -y && \ | |
apt-get install -y software-properties-common && \ | |
add-apt-repository ppa:hvr/ghc -y && \ | |
apt update -y && \ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# global filter; messages must have at least this severity to pass: | |
# Typical values would be Warning, Notice, Info or Debug | |
minSeverity: Info | |
# global file rotation settings: | |
rotation: | |
rpLogLimitBytes: 10000000 | |
rpKeepFilesNum: 10 | |
rpMaxAgeHours: 24 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# global filter; messages must have at least this severity to pass: | |
minSeverity: info | |
# global file rotation settings: | |
rotation: | |
rpLogLimitBytes: 5000000 | |
rpKeepFilesNum: 10 | |
rpMaxAgeHours: 24 | |
# these backends are initialized: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
FROM ubuntu:19.10 AS builder | |
ENV NODE_VERSION="1.11.0" | |
ENV CABAL_VERSION="cabal-install-3.0" | |
ENV GHC_VERSION="ghc-8.6.5" | |
ENV PATH=/usr/sbin:/usr/bin:/usr/local/bin:/sbin:/bin:/opt/cabal/bin:/opt/ghc/bin/ | |
RUN apt update -y && \ | |
apt-get install -y software-properties-common && \ | |
add-apt-repository ppa:hvr/ghc -y && \ | |
apt update -y && \ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env bash | |
set -e | |
if [ -z "$CNODEIPV4" ]; then | |
cat >&2 <<EOF | |
A CNODEIPV4 is required to run this container, for example docker run -e CNODEIPV4=XX.XX.XX.XX | |
EOF | |
exit 1 | |
fi | |
socat -d tcp-listen:12100,reuseaddr,fork tcp:127.0.0.1:12000 & |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Create names of verification and singing key for an address | |
echo enter name of verification key file should end with .vkey | |
read verificationkey | |
echo enter name of the signing key file should end with skey | |
read signingkey | |
# generate the address in folder currentdirectory/addr/ | |
cardano-cli shelley address key-gen \ | |
--verification-key-file addr/$verificationkey \ | |
--signing-key-file addr/$signingkey |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
cat << "EOF" | |
``.'",,:>*r!~'` | |
`',,,,,,,:::::^/^!!~` | |
`.'"",,'',:~!^::!:=;;>ii!' | |
`.',''.`````:....';,,~::=vvl^` | |
.',,'....'',::,,::::::::>;ri|\\:` | |
`.,,,''` ',.```````,.'',,~^^:!^>iJ?` | |
`'''.````',. `.':,,,"~:!ii7l7v7Jr` | |
',,,':::~,.....!::,,,,',,!":::::|7!:;>` | |
',,,'.:'.`` :,.```.',:v;!:!^r?xv|il; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
cat << "EOF" | |
``.'",,:>*r!~'` | |
`',,,,,,,:::::^/^!!~` | |
`.'"",,'',:~!^::!:=;;>ii!' | |
`.',''.`````:....';,,~::=vvl^` | |
.',,'....'',::,,::::::::>;ri|\\:` | |
`.,,,''` ',.```````,.'',,~^^:!^>iJ?` | |
`'''.````',. `.':,,,"~:!ii7l7v7Jr` | |
',,,':::~,.....!::,,,,',,!":::::|7!:;>` | |
',,,'.:'.`` :,.```.',:v;!:!^r?xv|il; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
cat << "EOF" | |
``.'",,:>*r!~'` | |
`',,,,,,,:::::^/^!!~` | |
`.'"",,'',:~!^::!:=;;>ii!' | |
`.',''.`````:....';,,~::=vvl^` | |
.',,'....'',::,,::::::::>;ri|\\:` | |
`.,,,''` ',.```````,.'',,~^^:!^>iJ?` | |
`'''.````',. `.':,,,"~:!ii7l7v7Jr` | |
',,,':::~,.....!::,,,,',,!":::::|7!:;>` | |
',,,'.:'.`` :,.```.',:v;!:!^r?xv|il; |
OlderNewer