Added Docker healthcheck and projectsegfau instance (#131)

This commit is contained in:
David
2022-07-26 14:30:58 +02:00
committed by GitHub
parent 5c3abdf4b6
commit af24caf962
3 changed files with 7 additions and 2 deletions

View File

@@ -7,6 +7,7 @@ COPY package.json yarn.lock ./
RUN yarn install --frozen-lockfile
FROM node:lts-alpine AS builder
RUN apk add --no-cache curl
WORKDIR /app
RUN addgroup -g 1001 -S nodejs
@@ -23,6 +24,8 @@ ENV NODE_ENV production
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\
NEXT_PUBLIC_FORCE_DEFAULT_THEME=$force_default_theme \
NEXT_PUBLIC_DEFAULT_SOURCE_LANG=$default_source_lang \

View File

@@ -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) |
| [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) |
| [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) |
| [translate.projectsegfau.lt](https://translate.projectsegfau.lt/) | Self-hosted | [Let's Encrypt](https://www.ssllabs.com/ssltest/analyze.html?d=translate.projectsegfau.lt) |
| [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

View File

@@ -5,6 +5,7 @@
"https://translate.plausibility.cloud",
"https://lingva.lunar.icu",
"https://lingva.opnxng.com",
"https://translate.projectsegfau.lt",
"https://lingva.garudalinux.org",
"https://translate.dr460nf1r3.org"
]