chore(recipes): correct path for nginx (#2284)
* chore(recipes): correct path for nginx * update some docs * chore(kimai): cleanup and bump * nonroot
This commit is contained in:
@@ -25,7 +25,7 @@ sources:
|
|||||||
- https://github.com/kevinpapst/kimai2
|
- https://github.com/kevinpapst/kimai2
|
||||||
- https://github.com/tobybatch/kimai2
|
- https://github.com/tobybatch/kimai2
|
||||||
- https://hub.docker.com/r/kimai/kimai2
|
- https://hub.docker.com/r/kimai/kimai2
|
||||||
version: 0.0.2
|
version: 0.0.3
|
||||||
annotations:
|
annotations:
|
||||||
truecharts.org/catagories: |
|
truecharts.org/catagories: |
|
||||||
- productivity
|
- productivity
|
||||||
|
|||||||
@@ -1,18 +1 @@
|
|||||||
{{- include "common.setup" . }}
|
{{- include "common.all" . }}
|
||||||
|
|
||||||
{{/* Append the hardcoded settings */}}
|
|
||||||
{{- define "kimai.harcodedValues" -}}
|
|
||||||
persistence:
|
|
||||||
kimai-config:
|
|
||||||
enabled: "true"
|
|
||||||
mountPath: "/etc/nginx/conf.d/default.conf"
|
|
||||||
subPath: "nginx-config"
|
|
||||||
type: "custom"
|
|
||||||
volumeSpec:
|
|
||||||
configMap:
|
|
||||||
name: {{ printf "%v-config" (include "common.names.fullname" .) }}
|
|
||||||
{{- end -}}
|
|
||||||
{{- $_ := mergeOverwrite .Values (include "kimai.harcodedValues" . | fromYaml) -}}
|
|
||||||
|
|
||||||
{{/* Render the templates */}}
|
|
||||||
{{ include "common.postSetup" . }}
|
|
||||||
|
|||||||
@@ -1,42 +0,0 @@
|
|||||||
---
|
|
||||||
apiVersion: v1
|
|
||||||
kind: ConfigMap
|
|
||||||
metadata:
|
|
||||||
name: {{ include "common.names.fullname" . }}-config
|
|
||||||
labels:
|
|
||||||
{{- include "common.labels" . | nindent 4 }}
|
|
||||||
data:
|
|
||||||
nginx-config: |-
|
|
||||||
server {
|
|
||||||
listen 80;
|
|
||||||
index index.php;
|
|
||||||
server_name nginx;
|
|
||||||
server_tokens off;
|
|
||||||
root /opt/kimai/public;
|
|
||||||
|
|
||||||
# cache static asset files
|
|
||||||
location ~* \.(ico|css|js|gif|jpe?g|png)(\?[0-9]+)?$ {
|
|
||||||
expires max;
|
|
||||||
log_not_found off;
|
|
||||||
}
|
|
||||||
|
|
||||||
# for health checks
|
|
||||||
location /health {
|
|
||||||
return 200 'alive';
|
|
||||||
add_header Content-Type text/plain;
|
|
||||||
}
|
|
||||||
|
|
||||||
location / {
|
|
||||||
try_files $uri $uri/ /index.php$is_args$args;
|
|
||||||
}
|
|
||||||
|
|
||||||
location ~ ^/index\.php(/|$) {
|
|
||||||
fastcgi_hide_header X-Powered-By;
|
|
||||||
fastcgi_pass localhost:9000;
|
|
||||||
fastcgi_split_path_info ^(.+\.php)(/.*)$;
|
|
||||||
include fastcgi_params;
|
|
||||||
fastcgi_param SCRIPT_FILENAME $realpath_root$fastcgi_script_name;
|
|
||||||
fastcgi_param DOCUMENT_ROOT $realpath_root;
|
|
||||||
internal;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
@@ -4,7 +4,6 @@ image:
|
|||||||
pullPolicy: IfNotPresent
|
pullPolicy: IfNotPresent
|
||||||
|
|
||||||
securityContext:
|
securityContext:
|
||||||
runAsNonRoot: false
|
|
||||||
readOnlyRootFilesystem: false
|
readOnlyRootFilesystem: false
|
||||||
|
|
||||||
podSecurityContext:
|
podSecurityContext:
|
||||||
|
|||||||
@@ -2,7 +2,7 @@ apiVersion: v2
|
|||||||
appVersion: "1.1.3"
|
appVersion: "1.1.3"
|
||||||
description: Recipes is a Django application to manage, tag and search recipes using either built in models or external storage providers hosting PDF's, Images or other files.
|
description: Recipes is a Django application to manage, tag and search recipes using either built in models or external storage providers hosting PDF's, Images or other files.
|
||||||
name: recipes
|
name: recipes
|
||||||
version: 6.0.10
|
version: 6.0.11
|
||||||
kubeVersion: ">=1.16.0-0"
|
kubeVersion: ">=1.16.0-0"
|
||||||
keywords:
|
keywords:
|
||||||
- recipes
|
- recipes
|
||||||
|
|||||||
@@ -5,8 +5,8 @@
|
|||||||
persistence:
|
persistence:
|
||||||
recipes-config:
|
recipes-config:
|
||||||
enabled: "true"
|
enabled: "true"
|
||||||
mountPath: "/app/config.json"
|
mountPath: "/etc/nginx/nginx.conf"
|
||||||
subPath: "config.json"
|
subPath: "nginx.conf"
|
||||||
type: "custom"
|
type: "custom"
|
||||||
volumeSpec:
|
volumeSpec:
|
||||||
configMap:
|
configMap:
|
||||||
|
|||||||
@@ -0,0 +1,5 @@
|
|||||||
|
# Default Username/Password
|
||||||
|
|
||||||
|
__Email__: `admin`
|
||||||
|
|
||||||
|
__Password__: `admin`
|
||||||
@@ -1,4 +0,0 @@
|
|||||||
# Default Username/Password
|
|
||||||
|
|
||||||
__email__: `admin`
|
|
||||||
__password__: `admin`
|
|
||||||
@@ -0,0 +1,5 @@
|
|||||||
|
# Default Username/Password
|
||||||
|
|
||||||
|
__Email__: `admin@koel.dev`
|
||||||
|
|
||||||
|
__Password__: `KoelIsCool`
|
||||||
@@ -1,4 +0,0 @@
|
|||||||
# Default Username/Password
|
|
||||||
|
|
||||||
__email__: `admin@koel.dev`
|
|
||||||
__password__: `KoelIsCool`
|
|
||||||
@@ -0,0 +1,5 @@
|
|||||||
|
# Default Username/Password
|
||||||
|
|
||||||
|
__E-mail__: `admin`
|
||||||
|
|
||||||
|
__Password__: `password`
|
||||||
@@ -1,4 +0,0 @@
|
|||||||
# Default Username/Password
|
|
||||||
|
|
||||||
__email__: `admin`
|
|
||||||
__password__: `password`
|
|
||||||
@@ -0,0 +1,5 @@
|
|||||||
|
# Default Username/Password
|
||||||
|
|
||||||
|
__Username__: `admin`
|
||||||
|
|
||||||
|
__Password__: `adminadmin`
|
||||||
@@ -0,0 +1,5 @@
|
|||||||
|
# Using VPN
|
||||||
|
|
||||||
|
When using VPN, in order for qbittorent to use it, you have to set the correct interface in the WebUI.
|
||||||
|
|
||||||
|
The setting should be under Settings (Gear Icon) > Advanced > Network Interface
|
||||||
Reference in New Issue
Block a user