wip ntfy
This commit is contained in:
parent
f997855f97
commit
b3219b2b95
3 changed files with 19 additions and 10 deletions
|
|
@ -4,7 +4,7 @@ kind: Service
|
||||||
metadata:
|
metadata:
|
||||||
annotations:
|
annotations:
|
||||||
kompose.cmd: kompose convert -o deployment.yaml -n ntfy
|
kompose.cmd: kompose convert -o deployment.yaml -n ntfy
|
||||||
kompose.service.expose: ntfy.wayl.one
|
kompose.service.expose: ntfy.wayl.one,ntfy.k.waylonwalker.com
|
||||||
kompose.version: 1.31.2 (a92241f79)
|
kompose.version: 1.31.2 (a92241f79)
|
||||||
creationTimestamp: null
|
creationTimestamp: null
|
||||||
labels:
|
labels:
|
||||||
|
|
@ -13,8 +13,8 @@ metadata:
|
||||||
namespace: ntfy
|
namespace: ntfy
|
||||||
spec:
|
spec:
|
||||||
ports:
|
ports:
|
||||||
- name: "3008"
|
- name: "80"
|
||||||
port: 3008
|
port: 80
|
||||||
targetPort: 80
|
targetPort: 80
|
||||||
selector:
|
selector:
|
||||||
io.kompose.service: ntfy
|
io.kompose.service: ntfy
|
||||||
|
|
@ -37,7 +37,7 @@ kind: Deployment
|
||||||
metadata:
|
metadata:
|
||||||
annotations:
|
annotations:
|
||||||
kompose.cmd: kompose convert -o deployment.yaml -n ntfy
|
kompose.cmd: kompose convert -o deployment.yaml -n ntfy
|
||||||
kompose.service.expose: ntfy.wayl.one
|
kompose.service.expose: ntfy.wayl.one,ntfy.k.waylonwalker.com
|
||||||
kompose.version: 1.31.2 (a92241f79)
|
kompose.version: 1.31.2 (a92241f79)
|
||||||
creationTimestamp: null
|
creationTimestamp: null
|
||||||
labels:
|
labels:
|
||||||
|
|
@ -55,7 +55,7 @@ spec:
|
||||||
metadata:
|
metadata:
|
||||||
annotations:
|
annotations:
|
||||||
kompose.cmd: kompose convert -o deployment.yaml -n ntfy
|
kompose.cmd: kompose convert -o deployment.yaml -n ntfy
|
||||||
kompose.service.expose: ntfy.wayl.one
|
kompose.service.expose: ntfy.wayl.one,ntfy.k.waylonwalker.com
|
||||||
kompose.version: 1.31.2 (a92241f79)
|
kompose.version: 1.31.2 (a92241f79)
|
||||||
creationTimestamp: null
|
creationTimestamp: null
|
||||||
labels:
|
labels:
|
||||||
|
|
@ -80,7 +80,6 @@ spec:
|
||||||
name: ntfy
|
name: ntfy
|
||||||
ports:
|
ports:
|
||||||
- containerPort: 80
|
- containerPort: 80
|
||||||
hostPort: 3008
|
|
||||||
protocol: TCP
|
protocol: TCP
|
||||||
resources: {}
|
resources: {}
|
||||||
securityContext:
|
securityContext:
|
||||||
|
|
@ -106,7 +105,7 @@ kind: Ingress
|
||||||
metadata:
|
metadata:
|
||||||
annotations:
|
annotations:
|
||||||
kompose.cmd: kompose convert -o deployment.yaml -n ntfy
|
kompose.cmd: kompose convert -o deployment.yaml -n ntfy
|
||||||
kompose.service.expose: ntfy.wayl.one
|
kompose.service.expose: ntfy.wayl.one,ntfy.k.waylonwalker.com
|
||||||
kompose.version: 1.31.2 (a92241f79)
|
kompose.version: 1.31.2 (a92241f79)
|
||||||
creationTimestamp: null
|
creationTimestamp: null
|
||||||
labels:
|
labels:
|
||||||
|
|
@ -122,7 +121,17 @@ spec:
|
||||||
service:
|
service:
|
||||||
name: ntfy
|
name: ntfy
|
||||||
port:
|
port:
|
||||||
number: 3008
|
number: 80
|
||||||
|
path: /
|
||||||
|
pathType: Prefix
|
||||||
|
- host: ntfy.k.waylonwalker.com
|
||||||
|
http:
|
||||||
|
paths:
|
||||||
|
- backend:
|
||||||
|
service:
|
||||||
|
name: ntfy
|
||||||
|
port:
|
||||||
|
number: 80
|
||||||
path: /
|
path: /
|
||||||
pathType: Prefix
|
pathType: Prefix
|
||||||
status:
|
status:
|
||||||
|
|
|
||||||
|
|
@ -13,7 +13,7 @@ services:
|
||||||
- ntfy-cache:/var/cache/ntfy
|
- ntfy-cache:/var/cache/ntfy
|
||||||
- ntfy:/etc/ntfy
|
- ntfy:/etc/ntfy
|
||||||
ports:
|
ports:
|
||||||
- 3008:80
|
- 80
|
||||||
healthcheck: # optional: remember to adapt the host:port to your environment
|
healthcheck: # optional: remember to adapt the host:port to your environment
|
||||||
test: ["CMD-SHELL", "wget -q --tries=1 http://localhost:80/v1/health -O - | grep -Eo '\"healthy\"\\s*:\\s*true' || exit 1"]
|
test: ["CMD-SHELL", "wget -q --tries=1 http://localhost:80/v1/health -O - | grep -Eo '\"healthy\"\\s*:\\s*true' || exit 1"]
|
||||||
interval: 60s
|
interval: 60s
|
||||||
|
|
@ -22,7 +22,7 @@ services:
|
||||||
start_period: 40s
|
start_period: 40s
|
||||||
restart: always
|
restart: always
|
||||||
labels:
|
labels:
|
||||||
kompose.service.expose: ntfy.wayl.one
|
kompose.service.expose: ntfy.wayl.one,ntfy.k.waylonwalker.com
|
||||||
volumes:
|
volumes:
|
||||||
ntfy:
|
ntfy:
|
||||||
ntfy-cache:
|
ntfy-cache:
|
||||||
|
|
|
||||||
Binary file not shown.
|
Before Width: | Height: | Size: 95 KiB After Width: | Height: | Size: 93 KiB |
Loading…
Add table
Add a link
Reference in a new issue