You've already forked ionscale
mirror of
https://github.com/jsiebens/ionscale.git
synced 2026-04-05 12:32:58 +01:00
chore(docs): update docs
This commit is contained in:
@@ -32,23 +32,23 @@ cd ./ionscale
|
|||||||
Generate a configuration file for __ionscale__ with the following commands:
|
Generate a configuration file for __ionscale__ with the following commands:
|
||||||
|
|
||||||
``` bash
|
``` bash
|
||||||
export IONSCALE_DOMAIN=example.com
|
|
||||||
export IONSCALE_ACME_EMAIL=<your email>
|
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
|
``` bash
|
||||||
tee ./config.yaml >/dev/null <<EOF
|
tee ./config.yaml >/dev/null <<EOF
|
||||||
http_listen_addr: ":80"
|
http_listen_addr: ":80"
|
||||||
https_listen_addr: ":443"
|
https_listen_addr: ":443"
|
||||||
server_url: "https://${IONSCALE_DOMAIN}"
|
server_url: "${IONSCALE_ADDR}"
|
||||||
|
|
||||||
tls:
|
tls:
|
||||||
acme: true
|
acme: true
|
||||||
acme_email: "${IONSCALE_ACME_EMAIL}"
|
acme_email: "${IONSCALE_ACME_EMAIL}"
|
||||||
acme_path: "/data/acme"
|
|
||||||
|
|
||||||
keys:
|
keys:
|
||||||
system_admin_key: "$(ionscale genkey -n)"
|
system_admin_key: "${IONSCALE_SYSTEM_ADMIN_KEY}"
|
||||||
|
|
||||||
database:
|
database:
|
||||||
url: "/data/ionscale.db?_pragma=busy_timeout(5000)&_pragma=journal_mode(WAL)"
|
url: "/data/ionscale.db?_pragma=busy_timeout(5000)&_pragma=journal_mode(WAL)"
|
||||||
@@ -68,5 +68,5 @@ docker run \
|
|||||||
-v $(pwd)/data:/data \
|
-v $(pwd)/data:/data \
|
||||||
-p 80:80 \
|
-p 80:80 \
|
||||||
-p 443:443 \
|
-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
|
||||||
```
|
```
|
||||||
@@ -41,7 +41,7 @@ Run the following commands to install the __ionscale__ binary on your Linux host
|
|||||||
``` bash
|
``` bash
|
||||||
sudo curl \
|
sudo curl \
|
||||||
-o "/usr/local/bin/ionscale" \
|
-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"
|
sudo chmod +x "/usr/local/bin/ionscale"
|
||||||
```
|
```
|
||||||
@@ -59,8 +59,8 @@ EOF
|
|||||||
Generate a configuration file for __ionscale__ with the following commands:
|
Generate a configuration file for __ionscale__ with the following commands:
|
||||||
|
|
||||||
``` bash
|
``` bash
|
||||||
export IONSCALE_DOMAIN=example.com
|
|
||||||
export IONSCALE_ACME_EMAIL=<your email>
|
export IONSCALE_ACME_EMAIL=<your email>
|
||||||
|
export IONSCALE_ADDR=https://ionscale.example.com
|
||||||
```
|
```
|
||||||
|
|
||||||
``` bash
|
``` bash
|
||||||
|
|||||||
Reference in New Issue
Block a user