A livestream where I show users how to use docker to set up a reverse proxy for your local Tezos node and get a free SSL cert from lets encrypt all at once. This tutorial uses docker-compose.
Total cost(you can pay for everything in BITCOIN):
Domain: $12 a year
Vultr: $20 a month(2CPU 4GB ram) or
Turnkeyinternet(black friday): $5 a month(2CPU 4GB of ram)
VULTR recommended SPECS:
80 GB SSD $20/month $0.03/hour 2 CPU 4 GB Memory 3 TB Bandwidth
VULTR link(my referral):
https://www.vultr.com/?ref=8668309
Docker-compose for SSLdocker-compose.yml
Prereqs:Tezos-node: • Tezos Tutorials: Setting up a Tezos node A... Source:https://tezos.gitlab.io/introduction/howtoget.html
Docker:
curl https://get.docker.com | sh
sudo usermod -aG docker $USER
sudo reboot
sudo systemctl start docker
sudo systemctl enable docker
Source:
https://github.com/prisma/prisma1/iss...
Docker compose:
sudo curl -L "https://github.com/docker/compose/rel... -s)-$(uname -m)" -o /usr/local/bin/docker-compose
sudo chmod +x /usr/local/bin/docker-compose
docker-compose --version
source:
https://www.digitalocean.com/communit...
---
networks:
internalnetwork:
driver: bridge
name: internalnetwork
ipam:
driver: default
config:
subnet: 10.0.2.0/26
reverse-proxy-network:
driver: macvlan
name: reverse-proxy-network
ipam:
driver: default
config:
subnet: 10.0.1.0/25
services:
swag:
cap_add:
NET_ADMIN
container_name: swag
environment:
PUID=1000
PGID=1000
TZ=Asia/Tokyo
URL=kryptstar.com
DNSPLUGIN=cloudflare
"SUBDOMAINS=tezos-mainnet”
VALIDATION=dns
EMAIL=mack.baise@gmail.com
image: linuxserver/swag
networks:
reverse-proxy-network
internalnetwork
ports:
"443:443"
"80:80"
restart: unless-stopped
volumes:
"~/docker/swag/swag_config:/config"
version: "2.1"
——Subdomain config——
tezos-node.subdomain.conf
server {
listen 443 ssl http2;
listen [::]:443 ssl http2;
server_name tezos-mainnet.*;
include /config/nginx/ssl.conf;
client_max_body_size 0;
location / {
include /config/nginx/proxy.conf;
include /config/nginx/resolver.conf;
set $upstream_app [yourIPwithoutbrackets];docker-compose --version
set $upstream_port 8732;
set $upstream_proto http;
proxy_pass $upstream_proto://$upstream_app:$upstream_port;
}
}
Tezos node-run command:
./tezos-node run --rpc-addr [yourIPwithoutbrackets]:8732 --connections 10 --cors-header='content-type' --cors-origin='*' --allow-all-rpc [yourIPwithoutbrackets]:8732
Troubleshooting:
export XDG_RUNTIME_DIR=/tmp
On this page of the site you can watch the video online Tezos Tutorials: Setting up a Tezos node with SSL(HTTPS) with a duration of hours minute second in good quality, which was uploaded by the user Kryptstar Mack 01 January 1970, share the link with friends and acquaintances, this video has already been watched 394 times on youtube and it was liked by 22 viewers. Enjoy your viewing!