Compare commits
3 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
e448698983 | ||
|
|
d2a608e4b2 | ||
|
|
62b67376c1 |
@@ -1,4 +1,4 @@
|
|||||||
FROM node:lts-alpine3.20 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:lts-alpine3.20 as final
|
|
||||||
|
|
||||||
USER node
|
USER node
|
||||||
RUN mkdir -p /home/node/app
|
RUN mkdir -p /home/node/app
|
||||||
|
|||||||
@@ -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
|
||||||
|
|
||||||
@@ -58,6 +61,9 @@ yarn start
|
|||||||
```
|
```
|
||||||
|
|
||||||
## Docker
|
## 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
|
```bash
|
||||||
docker run \
|
docker run \
|
||||||
-p 8008:8008 \
|
-p 8008:8008 \
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "gotify-to-ntfy-proxy",
|
"name": "gotify-to-ntfy-proxy",
|
||||||
"version": "1.0.0",
|
"version": "1.1.1",
|
||||||
"license": "MIT",
|
"license": "MIT",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"start": "node index.js",
|
"start": "node index.js",
|
||||||
|
|||||||
Reference in New Issue
Block a user