Move lure-web to lure.sh
This commit is contained in:
parent
3ffd995ccf
commit
31d921f140
@ -4,7 +4,7 @@ steps:
|
||||
image: gitea.elara.ws/elara6331/node
|
||||
directory: frontend
|
||||
environment:
|
||||
- LURE_WEB_API_URL=https://api.lure.elara.ws
|
||||
- LURE_WEB_API_URL=https://api.lure.sh
|
||||
commands:
|
||||
- npm i
|
||||
- npm run build
|
||||
|
@ -35,7 +35,7 @@
|
||||
<p class="subtitle">
|
||||
Paste this into your Linux terminal and the install script will set everything up for you
|
||||
</p>
|
||||
<Highlight language={bash} code="curl -fsSL lure.elara.ws/install | bash" />
|
||||
<Highlight language={bash} code="curl -fsSL lure.sh/install | bash" />
|
||||
<p>
|
||||
LURE is also available on the AUR as <a
|
||||
href="https://aur.archlinux.org/packages/linux-user-repository-bin"
|
||||
|
@ -35,7 +35,7 @@ job "lure-web" {
|
||||
port = "api"
|
||||
tags = [
|
||||
"traefik.enable=true",
|
||||
"traefik.http.routers.lure-backend.rule=Host(`api.lure.elara.ws`)",
|
||||
"traefik.http.routers.lure-backend.rule=Host(`api.lure.sh`)",
|
||||
"traefik.http.routers.lure-backend.tls.certresolver=letsencrypt"
|
||||
]
|
||||
|
||||
@ -54,7 +54,7 @@ job "lure-web" {
|
||||
config {
|
||||
image = "gitea.elara.ws/lure/frontend:latest"
|
||||
ports = ["http"]
|
||||
args = ["build"]
|
||||
args = ["build"]
|
||||
}
|
||||
|
||||
|
||||
@ -63,7 +63,12 @@ job "lure-web" {
|
||||
port = "http"
|
||||
tags = [
|
||||
"traefik.enable=true",
|
||||
"traefik.http.routers.lure-frontend.rule=Host(`lure.elara.ws`)",
|
||||
"traefik.http.middlewares.lure-redir.redirectRegex.regex=^https://(www\\.lure\\.sh|lure\\.elara\\.ws)",
|
||||
"traefik.http.middlewares.lure-redir.redirectRegex.replacement=https://lure.sh",
|
||||
"traefik.http.middlewares.lure-redir.redirectRegex.permanent=true",
|
||||
|
||||
"traefik.http.routers.lure-frontend.rule=Host(`lure.sh`) || Host(`www.lure.sh`) || Host(`lure.elara.ws`)",
|
||||
"traefik.http.routers.lure-frontend.middlewares=lure-redir",
|
||||
"traefik.http.routers.lure-frontend.tls.certresolver=letsencrypt",
|
||||
]
|
||||
}
|
||||
@ -72,7 +77,7 @@ job "lure-web" {
|
||||
|
||||
constraint {
|
||||
attribute = "${attr.cpu.arch}"
|
||||
operator = "set_contains_any"
|
||||
value = "amd64,arm64,riscv64"
|
||||
operator = "set_contains_any"
|
||||
value = "amd64,arm64,riscv64"
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user