feat: add debug
This commit is contained in:
@@ -2,7 +2,7 @@ ntfy:
|
|||||||
controllers:
|
controllers:
|
||||||
main:
|
main:
|
||||||
type: deployment
|
type: deployment
|
||||||
replicas: 1
|
replicas: 0
|
||||||
strategy: Recreate
|
strategy: Recreate
|
||||||
containers:
|
containers:
|
||||||
main:
|
main:
|
||||||
@@ -17,17 +17,8 @@ ntfy:
|
|||||||
value: https://ntfy.alexlebens.net
|
value: https://ntfy.alexlebens.net
|
||||||
- name: NTFY_LISTEN_HTTP
|
- name: NTFY_LISTEN_HTTP
|
||||||
value: :80
|
value: :80
|
||||||
- name: NTFY_CACHE_FILE
|
|
||||||
value: /var/cache/ntfy/cache.db
|
|
||||||
- name: NTFY_CACHE_DURATION
|
- name: NTFY_CACHE_DURATION
|
||||||
value: 36h
|
value: 36h
|
||||||
- name: NTFY_CACHE_STARTUP_QUERIES
|
|
||||||
value: |
|
|
||||||
pragma journal_mode = WAL;
|
|
||||||
pragma synchronous = normal;
|
|
||||||
pragma temp_store = memory;
|
|
||||||
pragma busy_timeout = 15000;
|
|
||||||
vacuum;
|
|
||||||
- name: NTFY_BEHIND_PROXY
|
- name: NTFY_BEHIND_PROXY
|
||||||
value: true
|
value: true
|
||||||
# - name: NTFY_DATABASE_URL
|
# - name: NTFY_DATABASE_URL
|
||||||
@@ -52,8 +43,6 @@ ntfy:
|
|||||||
value: true
|
value: true
|
||||||
- name: NTFY_ENABLE_RESERVATIONS
|
- name: NTFY_ENABLE_RESERVATIONS
|
||||||
value: false
|
value: false
|
||||||
- name: NTFY_AUTH_FILE
|
|
||||||
value: /var/cache/ntfy/user.db
|
|
||||||
- name: NTFY_AUTH_DEFAULT_ACCESS
|
- name: NTFY_AUTH_DEFAULT_ACCESS
|
||||||
value: deny-all
|
value: deny-all
|
||||||
- name: NTFY_METRICS_LISTEN_HTTP
|
- name: NTFY_METRICS_LISTEN_HTTP
|
||||||
@@ -62,7 +51,7 @@ ntfy:
|
|||||||
value: info
|
value: info
|
||||||
probes:
|
probes:
|
||||||
liveness:
|
liveness:
|
||||||
enabled: false
|
enabled: true
|
||||||
custom: true
|
custom: true
|
||||||
spec:
|
spec:
|
||||||
httpGet:
|
httpGet:
|
||||||
@@ -76,6 +65,22 @@ ntfy:
|
|||||||
requests:
|
requests:
|
||||||
cpu: 10m
|
cpu: 10m
|
||||||
memory: 40Mi
|
memory: 40Mi
|
||||||
|
debug:
|
||||||
|
type: deployment
|
||||||
|
replicas: 1
|
||||||
|
strategy: Recreate
|
||||||
|
containers:
|
||||||
|
main:
|
||||||
|
image:
|
||||||
|
repository: ubuntu/go
|
||||||
|
tag: 1.22-24.04_stable
|
||||||
|
command:
|
||||||
|
- "sleep"
|
||||||
|
- "infinity"
|
||||||
|
resources:
|
||||||
|
requests:
|
||||||
|
cpu: 10m
|
||||||
|
memory: 32Mi
|
||||||
service:
|
service:
|
||||||
main:
|
main:
|
||||||
controller: main
|
controller: main
|
||||||
@@ -126,8 +131,12 @@ ntfy:
|
|||||||
main:
|
main:
|
||||||
- path: /var/cache/ntfy
|
- path: /var/cache/ntfy
|
||||||
readOnly: false
|
readOnly: false
|
||||||
|
debug:
|
||||||
|
main:
|
||||||
|
- path: /var/cache/ntfy
|
||||||
|
readOnly: true
|
||||||
postgres-18-cluster:
|
postgres-18-cluster:
|
||||||
mode: standalone
|
mode: recovery
|
||||||
recovery:
|
recovery:
|
||||||
method: objectStore
|
method: objectStore
|
||||||
objectStore:
|
objectStore:
|
||||||
|
|||||||
Reference in New Issue
Block a user