3 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
LevantinLynx
62b67376c1 added support for arm/v7 and arm/v6 for raspberry pi,
downgrade from node v20 lts to v18 (node v20 won't build on arm/v7 or arm/v6)
2024-06-01 00:48:18 -10:00
3 changed files with 10 additions and 5 deletions

View File

@@ -1,4 +1,4 @@
FROM node:lts-alpine3.20 as builder
FROM node:20-bookworm as builder
USER node
RUN mkdir -p /home/node/app
@@ -15,8 +15,7 @@ ENV NODE_ENV=production
RUN yarn --production --frozen-lockfile
RUN yarn cache clean
FROM node:lts-alpine3.20 as final
FROM node:20-alpine as final
USER node
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.
## Proxmox settings
@@ -13,6 +13,9 @@ The proxy also works with Proxmox Backup Server since it uses the same notificat
## Example .env file
The protocol part of the NTFY_SEVER variable is mandatory.
```env
NODE_ENV=production
@@ -58,6 +61,9 @@ yarn start
```
## Docker
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
docker run \
-p 8008:8008 \

View File

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