2 Commits

Author SHA1 Message Date
LevantinLynx
e448698983 Indicate that protocal part of NTFY_SERVER variable is a mandatory part. 2024-06-03 01:45:59 +02:00
LevantinLynx
d2a608e4b2 changed Dockerfile to build on node:20-bookworm and ship on node:20-alpine,
sadly this drops support for arm/v6
2024-06-02 02:38:24 +02:00
3 changed files with 8 additions and 6 deletions

View File

@@ -1,4 +1,4 @@
FROM node:18-alpine3.19 as builder FROM node:20-bookworm as builder
USER node USER node
RUN mkdir -p /home/node/app RUN mkdir -p /home/node/app
@@ -15,8 +15,7 @@ ENV NODE_ENV=production
RUN yarn --production --frozen-lockfile RUN yarn --production --frozen-lockfile
RUN yarn cache clean RUN yarn cache clean
FROM node:20-alpine as final
FROM node:18-alpine3.19 as final
USER node USER node
RUN mkdir -p /home/node/app RUN mkdir -p /home/node/app

View File

@@ -1,4 +1,4 @@
# Gotify to Ntfy Relay Proxy # Gotify to Ntfy Proxy
This is intended to be used with Proxmox v8+ to get Ntfy integration with the "new" notification system. At time of writing there is no native Ntfy integration in Proxmox. This is intended to be used with Proxmox v8+ to get Ntfy integration with the "new" notification system. At time of writing there is no native Ntfy integration in Proxmox.
## Proxmox settings ## Proxmox settings
@@ -13,6 +13,9 @@ The proxy also works with Proxmox Backup Server since it uses the same notificat
## Example .env file ## Example .env file
The protocol part of the NTFY_SEVER variable is mandatory.
```env ```env
NODE_ENV=production NODE_ENV=production
@@ -59,7 +62,7 @@ yarn start
## Docker ## Docker
Docker image was downgraded in v1.1.0 to node v18 to be able to support arm/v7 and arm/v6 too. IMPORTANT: If you are using docker container names to route between containers make sure you still use the protocol "http://" in front of the container name. Otherwise it wont work. e.g. NTFY_SERVER=http://ntfy_container_name
```bash ```bash
docker run \ docker run \

View File

@@ -1,6 +1,6 @@
{ {
"name": "gotify-to-ntfy-proxy", "name": "gotify-to-ntfy-proxy",
"version": "1.1.0", "version": "1.1.1",
"license": "MIT", "license": "MIT",
"scripts": { "scripts": {
"start": "node index.js", "start": "node index.js",