Added Docker healthcheck and projectsegfau instance (#131)
This commit is contained in:
@@ -7,6 +7,7 @@ COPY package.json yarn.lock ./
|
|||||||
RUN yarn install --frozen-lockfile
|
RUN yarn install --frozen-lockfile
|
||||||
|
|
||||||
FROM node:lts-alpine AS builder
|
FROM node:lts-alpine AS builder
|
||||||
|
RUN apk add --no-cache curl
|
||||||
WORKDIR /app
|
WORKDIR /app
|
||||||
|
|
||||||
RUN addgroup -g 1001 -S nodejs
|
RUN addgroup -g 1001 -S nodejs
|
||||||
@@ -23,6 +24,8 @@ ENV NODE_ENV production
|
|||||||
|
|
||||||
ENV NEXT_TELEMETRY_DISABLED 1
|
ENV NEXT_TELEMETRY_DISABLED 1
|
||||||
|
|
||||||
|
HEALTHCHECK --interval=1m --timeout=3s CMD curl -f http://localhost:3000/ || exit 1
|
||||||
|
|
||||||
CMD NEXT_PUBLIC_SITE_DOMAIN=$site_domain\
|
CMD NEXT_PUBLIC_SITE_DOMAIN=$site_domain\
|
||||||
NEXT_PUBLIC_FORCE_DEFAULT_THEME=$force_default_theme \
|
NEXT_PUBLIC_FORCE_DEFAULT_THEME=$force_default_theme \
|
||||||
NEXT_PUBLIC_DEFAULT_SOURCE_LANG=$default_source_lang \
|
NEXT_PUBLIC_DEFAULT_SOURCE_LANG=$default_source_lang \
|
||||||
|
|||||||
@@ -88,8 +88,9 @@ These are the currently known *Lingva* instances. Feel free to make a Pull Reque
|
|||||||
| [translate.plausibility.cloud](https://translate.plausibility.cloud/) | [Hetzner](https://hetzner.com/) | [Let's Encrypt](https://www.ssllabs.com/ssltest/analyze.html?d=translate.plausibility.cloud) |
|
| [translate.plausibility.cloud](https://translate.plausibility.cloud/) | [Hetzner](https://hetzner.com/) | [Let's Encrypt](https://www.ssllabs.com/ssltest/analyze.html?d=translate.plausibility.cloud) |
|
||||||
| [lingva.lunar.icu](https://lingva.lunar.icu/) | [Lansol](https://lansol.de/) | [Cloudflare](https://www.ssllabs.com/ssltest/analyze.html?d=lingva.lunar.icu) |
|
| [lingva.lunar.icu](https://lingva.lunar.icu/) | [Lansol](https://lansol.de/) | [Cloudflare](https://www.ssllabs.com/ssltest/analyze.html?d=lingva.lunar.icu) |
|
||||||
| [lingva.opnxng.com](https://lingva.opnxng.com/) | [Linode](https://linode.com/) | [Let's Encrypt](https://www.ssllabs.com/ssltest/analyze.html?d=lingva.opnxng.com) |
|
| [lingva.opnxng.com](https://lingva.opnxng.com/) | [Linode](https://linode.com/) | [Let's Encrypt](https://www.ssllabs.com/ssltest/analyze.html?d=lingva.opnxng.com) |
|
||||||
| [translate.dr460nf1r3.org](https://translate.dr460nf1r3.org/) | [Netcup](https://netcup.eu/) | [Cloudflare](https://www.ssllabs.com/ssltest/analyze.html?d=translate.dr460nf1r3.org) |
|
| [translate.projectsegfau.lt](https://translate.projectsegfau.lt/) | Self-hosted | [Let's Encrypt](https://www.ssllabs.com/ssltest/analyze.html?d=translate.projectsegfau.lt) |
|
||||||
| [lingva.garudalinux.org](https://lingva.garudalinux.org/) | [Hetzner](https://hetzner.com/) | [Cloudflare](https://www.ssllabs.com/ssltest/analyze.html?d=lingva.garudalinux.org) |
|
| [translate.dr460nf1r3.org](https://translate.dr460nf1r3.org/) | [Netcup](https://netcup.eu/) | [Cloudflare](https://www.ssllabs.com/ssltest/analyze.html?d=translate.dr460nf1r3.org) |
|
||||||
|
| [lingva.garudalinux.org](https://lingva.garudalinux.org/) | [Hetzner](https://hetzner.com/) | [Cloudflare](https://www.ssllabs.com/ssltest/analyze.html?d=lingva.garudalinux.org) |
|
||||||
|
|
||||||
|
|
||||||
## Public APIs
|
## Public APIs
|
||||||
|
|||||||
@@ -5,6 +5,7 @@
|
|||||||
"https://translate.plausibility.cloud",
|
"https://translate.plausibility.cloud",
|
||||||
"https://lingva.lunar.icu",
|
"https://lingva.lunar.icu",
|
||||||
"https://lingva.opnxng.com",
|
"https://lingva.opnxng.com",
|
||||||
|
"https://translate.projectsegfau.lt",
|
||||||
"https://lingva.garudalinux.org",
|
"https://lingva.garudalinux.org",
|
||||||
"https://translate.dr460nf1r3.org"
|
"https://translate.dr460nf1r3.org"
|
||||||
]
|
]
|
||||||
|
|||||||
Reference in New Issue
Block a user