Comment on SimpleX Self-Host Script, Tutorial, on Monero Provider

LWD@lemm.ee ⁨1⁩ ⁨year⁩ ago

Leave it to the cryptocurrency people to turn a simple tutorial into an ad. You could have pasted the whole script instead. In fact, here it is:

# !/bin/bash
# Setting up docker apt repo
# Add Docker's official GPG key:
apt update
apt install -y ca-certificates curl gnupg
install -m 0755 -d /etc/apt/keyrings
curl -fsSL https://download.docker.com/linux/debian/gpg | gpg --dearmor -o /etc/apt/keyrings/docker.gpg
chmod a+r /etc/apt/keyrings/docker.gpg
# Add the repository to Apt sources:
echo \
"deb [arch="$(dpkg --print-architecture)" signed-by=/etc/apt/keyrings/docker.gpg] https://download.docker.com/linux/debian \
"$(. /etc/os-release && echo "$VERSION_CODENAME")" stable" | \
tee /etc/apt/sources.list.d/docker.list > /dev/null
apt update
# Install docker from repo (~450MB,2Min)
apt install -y docker-ce docker-ce-cli containerd.io docker-buildx-plugin docker-compose-plugin
# Verify docker install
#docker run hello-world
# Install SimpleX from Docker Hub (~300MB,2Min)
mkdir -p $HOME/simplex/{xftp,smp}/{config,logs} && mkdir -p $HOME/simplex/xftp/files
docker run -d \
    --name smp-server \
    -e "ADDR=smp.YOUR.DOMAIN" \
    -p 5223:5223 \
    -v $HOME/simplex/smp/config:/etc/opt/simplex:z \
    -v $HOME/simplex/smp/logs:/var/opt/simplex:z \
    simplexchat/smp-server:latest
docker run -d \
    --name xftp-server \
    -e "ADDR=xftp.YOUR.DOMAIN" \
    -e "QUOTA=50gb" \
    -p 443:443 \
    -v $HOME/simplex/xftp/config:/etc/opt/simplex-xftp:z \
    -v $HOME/simplex/xftp/logs:/var/opt/simplex-xftp:z \
    -v $HOME/simplex/xftp/files:/srv/xftp:z \
    simplexchat/xftp-server:latest

… And that’s all you need.

source
Sort:hotnewtop