Compare commits
4
Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
1943482d74 | ||
|
|
dc29f02caa | ||
|
|
07c632c1ee | ||
|
|
19873965cd |
No files matched your search
@@ -162,6 +162,19 @@ On a new host:
|
|||||||
Rauthy's mail leaves through kasse's postfix like gdo's, and Rauthy
|
Rauthy's mail leaves through kasse's postfix like gdo's, and Rauthy
|
||||||
stops if it cannot reach it.
|
stops if it cannot reach it.
|
||||||
|
|
||||||
|
## Preview
|
||||||
|
|
||||||
|
`forhandsvisning.tomtervel.no` shows the content branch last pushed to
|
||||||
|
tomtervel/questions, before it is merged. The content repo's
|
||||||
|
`lint-and-reload` workflow runs it after the lint passes: a container
|
||||||
|
`tomtervel-preview` from this site's own image
|
||||||
|
(`localhost/tomtervel-portal:<PORTAL_RELEASE>`), beside a throwaway NATS
|
||||||
|
(`tomtervel-preview-nats`), on 127.0.0.1:3065. It has no gdo, so nothing
|
||||||
|
mails anyone, and no sign-in, so desks stay shut and the public pages
|
||||||
|
show. A form sent on it lands in the throwaway NATS and nowhere else.
|
||||||
|
The commit gets a "forhåndsvisning" status with the link, which a PR
|
||||||
|
shows among its checks. Main is never previewed: it is the site.
|
||||||
|
|
||||||
## Backups
|
## Backups
|
||||||
|
|
||||||
- Rauthy's database is the `rauthy_data` volume: the accounts, passkeys
|
- Rauthy's database is the `rauthy_data` volume: the accounts, passkeys
|
||||||
|
|||||||
@@ -87,6 +87,9 @@ services:
|
|||||||
context: ./portal
|
context: ./portal
|
||||||
args:
|
args:
|
||||||
PORTAL_RELEASE: ${PORTAL_RELEASE}
|
PORTAL_RELEASE: ${PORTAL_RELEASE}
|
||||||
|
# Named, so the content repo's preview (tomtervel/questions,
|
||||||
|
# lint-and-reload.yml) runs the very image this site runs.
|
||||||
|
image: localhost/tomtervel-portal:${PORTAL_RELEASE}
|
||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
# Written by the deploy workflow from the Actions variables and
|
# Written by the deploy workflow from the Actions variables and
|
||||||
# secrets (README.md has the table).
|
# secrets (README.md has the table).
|
||||||
|
|||||||
@@ -36,6 +36,8 @@ D("tomtervel.no", REG_NONE, DnsProvider(DSP_CLOUDFLARE),
|
|||||||
// id on to konto (the login) and chat on to samtaler.
|
// id on to konto (the login) and chat on to samtaler.
|
||||||
A("id", KASSE, CF_PROXY_OFF),
|
A("id", KASSE, CF_PROXY_OFF),
|
||||||
A("chat", KASSE, CF_PROXY_OFF),
|
A("chat", KASSE, CF_PROXY_OFF),
|
||||||
|
// The content repo's preview: a branch before it is merged.
|
||||||
|
A("forhandsvisning", KASSE, CF_PROXY_OFF),
|
||||||
|
|
||||||
// The old website, kept for now so the move can be undone: what the
|
// The old website, kept for now so the move can be undone: what the
|
||||||
// apex and web. pointed at before (Netlify, through Cloudflare). The
|
// apex and web. pointed at before (Netlify, through Cloudflare). The
|
||||||
|
|||||||
@@ -32,3 +32,14 @@ chat.tomtervel.no {
|
|||||||
konto.tomtervel.no {
|
konto.tomtervel.no {
|
||||||
reverse_proxy 127.0.0.1:8090
|
reverse_proxy 127.0.0.1:8090
|
||||||
}
|
}
|
||||||
|
|
||||||
|
# The content repo's preview: the branch last pushed, on a portal of its
|
||||||
|
# own with a throwaway NATS, no mail and no sign-in (tomtervel/questions,
|
||||||
|
# lint-and-reload.yml). Kept out of search engines.
|
||||||
|
# Port 3065: 3060 is gullberg.klingenbergbygg.no's, and podman's own
|
||||||
|
# published ports (3050, 3070, 8090) do not show in `ss`, so a port is
|
||||||
|
# chosen against this directory's upstreams as well.
|
||||||
|
forhandsvisning.tomtervel.no {
|
||||||
|
header X-Robots-Tag "noindex, nofollow"
|
||||||
|
reverse_proxy 127.0.0.1:3065
|
||||||
|
}
|
||||||
Reference in new issue
Block a user