mirror of
https://git.fifo-f.eu/fifo/phanpy-docker.git
synced 2025-04-11 15:08:14 +02:00
Updates
Signed-off-by: Fifo F <fifo@fifo-f.eu>
This commit is contained in:
parent
456c4510f5
commit
fcaa682975
2 changed files with 12 additions and 6 deletions
12
Dockerfile
12
Dockerfile
|
@ -1,10 +1,10 @@
|
|||
FROM node:18-alpine AS builder
|
||||
FROM node:20-alpine AS builder
|
||||
|
||||
ARG PHANPY_CLIENT_NAME
|
||||
ARG PHANPY_WEBSITE
|
||||
ARG PHANPY_LINGVA_INSTANCES
|
||||
ARG PHANPY_PRIVACY_POLICY_URL
|
||||
ARG PHANPY_DEFAULT_INSTANCE
|
||||
ARG PHANPY_CLIENT_NAME="Phanpy"
|
||||
ARG PHANPY_WEBSITE="https://phanpy.social"
|
||||
ARG PHANPY_LINGVA_INSTANCES="lingva.phanpy.social lingva.lunar.icu lingva.garudalinux.org translate.plausibility.cloud"
|
||||
ARG PHANPY_PRIVACY_POLICY_URL="https://github.com/cheeaun/phanpy/blob/main/PRIVACY.MD"
|
||||
ARG PHANPY_DEFAULT_INSTANCE="mastodon.social"
|
||||
|
||||
ENV PHANPY_CLIENT_NAME=${PHANPY_CLIENT_NAME} \
|
||||
PHANPY_WEBSITE=${PHANPY_WEBSITE} \
|
||||
|
|
|
@ -12,8 +12,14 @@ services:
|
|||
# PHANPY_DEFAULT_INSTANCE: "mastodon.social"
|
||||
ports:
|
||||
- "8282:80"
|
||||
healthcheck:
|
||||
test: ["CMD", "curl", "-f", "http://localhost"]
|
||||
interval: 30s
|
||||
timeout: 10s
|
||||
retries: 3
|
||||
networks:
|
||||
- phanpy-network
|
||||
restart: unless-stopped
|
||||
|
||||
networks:
|
||||
phanpy-network:
|
||||
|
|
Loading…
Add table
Reference in a new issue