diff --git a/Dockerfile b/Dockerfile index 3320da8..eac892c 100644 --- a/Dockerfile +++ b/Dockerfile @@ -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 \ diff --git a/README.md b/README.md index db95b4b..513ed90 100644 --- a/README.md +++ b/README.md @@ -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 diff --git a/instances.json b/instances.json index 39818ac..f28c054 100644 --- a/instances.json +++ b/instances.json @@ -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" ]