chore(docs): update docs

This commit is contained in:
Johan Siebens
2024-02-15 16:01:12 +01:00
parent 91c62ee892
commit afe587cb03
2 changed files with 7 additions and 7 deletions
+5 -5
View File
@@ -32,23 +32,23 @@ cd ./ionscale
Generate a configuration file for __ionscale__ with the following commands:
``` bash
export IONSCALE_DOMAIN=example.com
export IONSCALE_ACME_EMAIL=<your email>
export IONSCALE_ADDR=https://ionscale.example.com
export IONSCALE_SYSTEM_ADMIN_KEY=$(docker run ghcr.io/jsiebens/ionscale:0.13.0 genkey -n)
```
``` bash
tee ./config.yaml >/dev/null <<EOF
http_listen_addr: ":80"
https_listen_addr: ":443"
server_url: "https://${IONSCALE_DOMAIN}"
server_url: "${IONSCALE_ADDR}"
tls:
acme: true
acme_email: "${IONSCALE_ACME_EMAIL}"
acme_path: "/data/acme"
keys:
system_admin_key: "$(ionscale genkey -n)"
system_admin_key: "${IONSCALE_SYSTEM_ADMIN_KEY}"
database:
url: "/data/ionscale.db?_pragma=busy_timeout(5000)&_pragma=journal_mode(WAL)"
@@ -68,5 +68,5 @@ docker run \
-v $(pwd)/data:/data \
-p 80:80 \
-p 443:443 \
ghcr.io/jsiebens/ionscale:0.8.2 server --config /etc/ionscale/config.yaml
ghcr.io/jsiebens/ionscale:0.13.0 server --config /etc/ionscale/config.yaml
```
+2 -2
View File
@@ -41,7 +41,7 @@ Run the following commands to install the __ionscale__ binary on your Linux host
``` bash
sudo curl \
-o "/usr/local/bin/ionscale" \
-sfL "https://github.com/jsiebens/ionscale/releases/download/v0.8.2/ionscale_linux_amd64"
-sfL "https://github.com/jsiebens/ionscale/releases/download/v0.13.0/ionscale_linux_amd64"
sudo chmod +x "/usr/local/bin/ionscale"
```
@@ -59,8 +59,8 @@ EOF
Generate a configuration file for __ionscale__ with the following commands:
``` bash
export IONSCALE_DOMAIN=example.com
export IONSCALE_ACME_EMAIL=<your email>
export IONSCALE_ADDR=https://ionscale.example.com
```
``` bash