From 255e8f487aeb2424011c496d94ce6d723895b05c Mon Sep 17 00:00:00 2001 From: Patrick Wieth Date: Sun, 8 Oct 2023 23:00:49 +0200 Subject: [PATCH] update scripts, reactivate herd --- docker-compose.yml | 30 +++++++++++++++--------------- scripts/buildlaunch-node.sh | 2 +- scripts/sets/create-set.sh | 3 +++ 3 files changed, 19 insertions(+), 16 deletions(-) create mode 100644 scripts/sets/create-set.sh diff --git a/docker-compose.yml b/docker-compose.yml index 5124c8e9..bb8f45b3 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -15,18 +15,18 @@ services: - 9091:9091 - 4500:4500 -# herd: -# image: nginx:latest -# container_name: herd -# volumes: -# - /etc/letsencrypt/live/cardchain.crowdcontrol.network/fullchain.pem:/etc/letsencrypt/live/cardchain.crowdcontrol.network/fullchain.pem -# - /etc/letsencrypt/live/cardchain.crowdcontrol.network/privkey.pem:/etc/letsencrypt/live/cardchain.crowdcontrol.network/privkey.pem -# - ./config/nginx.conf:/etc/nginx/conf.d/default.conf -# - /etc/nginx/ssl/dhparam-4096.pem:/etc/nginx/ssl/dhparam-4096.pem -# ports: -# - 80:80 -# - 81:81 -# - 443:443 -# command: /bin/bash -c "exec nginx -g 'daemon off;'" -# depends_on: -# - blockchain + herd: + image: nginx:latest + container_name: herd + volumes: + - /etc/letsencrypt/live/cardchain.crowdcontrol.network/fullchain.pem:/etc/letsencrypt/live/cardchain.crowdcontrol.network/fullchain.pem + - /etc/letsencrypt/live/cardchain.crowdcontrol.network/privkey.pem:/etc/letsencrypt/live/cardchain.crowdcontrol.network/privkey.pem + - ./config/nginx.conf:/etc/nginx/conf.d/default.conf + - /etc/nginx/ssl/dhparam-4096.pem:/etc/nginx/ssl/dhparam-4096.pem + ports: + - 80:80 + - 81:81 + - 443:443 + command: /bin/bash -c "exec nginx -g 'daemon off;'" + depends_on: + - blockchain diff --git a/scripts/buildlaunch-node.sh b/scripts/buildlaunch-node.sh index 7c480df4..4e7354cf 100644 --- a/scripts/buildlaunch-node.sh +++ b/scripts/buildlaunch-node.sh @@ -6,4 +6,4 @@ cd "$parent_path" docker-compose build docker-compose up -d sleep 1 -sh register_faucet.sh \ No newline at end of file +bash register_faucet.sh \ No newline at end of file diff --git a/scripts/sets/create-set.sh b/scripts/sets/create-set.sh new file mode 100644 index 00000000..9abde880 --- /dev/null +++ b/scripts/sets/create-set.sh @@ -0,0 +1,3 @@ +#!/usr/bin/env bash + +Cardchaind tx cardchain create-set testset cc14km80077s0hch3sh38wh2hfk7kxfau4456r3ej cc14km80077s0hch3sh38wh2hfk7kxfau4456r3ej [] --from jannik \ No newline at end of file