mirror of
https://github.com/truecharts/catalog.git
synced 2026-07-10 19:16:04 +08:00
Commit new App releases for TrueCharts
Signed-off-by: TrueCharts-Bot <bot@truecharts.org>
This commit is contained in:
10
incubator/librephotos/0.0.1/CHANGELOG.md
Normal file
10
incubator/librephotos/0.0.1/CHANGELOG.md
Normal file
@@ -0,0 +1,10 @@
|
||||
# Changelog<br>
|
||||
|
||||
|
||||
<a name="librephotos-0.0.1"></a>
|
||||
### librephotos-0.0.1 (2022-02-13)
|
||||
|
||||
#### Feat
|
||||
|
||||
* Add librephotos ([#1882](https://github.com/truecharts/apps/issues/1882))
|
||||
|
||||
8
incubator/librephotos/0.0.1/CONFIG.md
Normal file
8
incubator/librephotos/0.0.1/CONFIG.md
Normal file
@@ -0,0 +1,8 @@
|
||||
# Configuration Options
|
||||
|
||||
##### Connecting to other apps
|
||||
If you need to connect this App to other Apps on TrueNAS SCALE, please refer to our "Linking Apps Internally" quick-start guide:
|
||||
https://truecharts.org/manual/Quick-Start%20Guides/14-linking-apps/
|
||||
|
||||
##### Available config options
|
||||
In the future this page is going to contain an automated list of options available in the installation/edit UI.
|
||||
12
incubator/librephotos/0.0.1/Chart.lock
Normal file
12
incubator/librephotos/0.0.1/Chart.lock
Normal file
@@ -0,0 +1,12 @@
|
||||
dependencies:
|
||||
- name: common
|
||||
repository: https://truecharts.org
|
||||
version: 8.15.2
|
||||
- name: postgresql
|
||||
repository: https://truecharts.org/
|
||||
version: 6.0.66
|
||||
- name: redis
|
||||
repository: https://truecharts.org
|
||||
version: 1.0.71
|
||||
digest: sha256:5e0ce1d5ef46d205e40745ce61638ba6eb10e0fb1c0b616bf465e877e39359df
|
||||
generated: "2022-02-13T13:12:07.45430766Z"
|
||||
35
incubator/librephotos/0.0.1/Chart.yaml
Normal file
35
incubator/librephotos/0.0.1/Chart.yaml
Normal file
@@ -0,0 +1,35 @@
|
||||
apiVersion: v2
|
||||
appVersion: "2022w06"
|
||||
dependencies:
|
||||
- name: common
|
||||
repository: https://truecharts.org
|
||||
version: 8.15.2
|
||||
- condition: postgresql.enabled
|
||||
name: postgresql
|
||||
repository: https://truecharts.org/
|
||||
version: 6.0.66
|
||||
- condition: redis.enabled
|
||||
name: redis
|
||||
repository: https://truecharts.org
|
||||
version: 1.0.71
|
||||
description: "A self-hosted open source photo management service."
|
||||
home: https://github.com/truecharts/apps/tree/master/charts/stable/librephotos
|
||||
icon: https://truecharts.org/_static/img/appicons/librephotos-icon.png
|
||||
keywords:
|
||||
- photos
|
||||
- gallery
|
||||
kubeVersion: '>=1.16.0-0'
|
||||
maintainers:
|
||||
- email: info@truecharts.org
|
||||
name: TrueCharts
|
||||
url: https://truecharts.org
|
||||
name: librephotos
|
||||
sources:
|
||||
- https://github.com/LibrePhotos/librephotos
|
||||
- https://hub.docker.com/r/reallibrephotos/librephotos
|
||||
version: 0.0.1
|
||||
annotations:
|
||||
truecharts.org/catagories: |
|
||||
- media
|
||||
truecharts.org/SCALE-support: "true"
|
||||
truecharts.org/grade: U
|
||||
40
incubator/librephotos/0.0.1/README.md
Normal file
40
incubator/librephotos/0.0.1/README.md
Normal file
@@ -0,0 +1,40 @@
|
||||
# Introduction
|
||||
|
||||
A self-hosted open source photo management service.
|
||||
|
||||
TrueCharts are designed to be installed as TrueNAS SCALE app only. We can not guarantee this charts works as a stand-alone helm installation.
|
||||
**This chart is not maintained by the upstream project and any issues with the chart should be raised [here](https://github.com/truecharts/apps/issues/new/choose)**
|
||||
|
||||
## Source Code
|
||||
|
||||
* <https://github.com/LibrePhotos/librephotos>
|
||||
* <https://hub.docker.com/r/reallibrephotos/librephotos>
|
||||
|
||||
## Requirements
|
||||
|
||||
Kubernetes: `>=1.16.0-0`
|
||||
|
||||
## Dependencies
|
||||
|
||||
| Repository | Name | Version |
|
||||
|------------|------|---------|
|
||||
| https://truecharts.org/ | postgresql | 6.0.66 |
|
||||
| https://truecharts.org | common | 8.15.2 |
|
||||
| https://truecharts.org | redis | 1.0.71 |
|
||||
|
||||
## Installing the Chart
|
||||
|
||||
To install this App on TrueNAS SCALE check our [Quick-Start Guide](https://truecharts.org/manual/Quick-Start%20Guides/03-Installing-an-App/).
|
||||
|
||||
## Uninstalling the Chart
|
||||
|
||||
To remove this App from TrueNAS SCALE check our [Quick-Start Guide](https://truecharts.org/manual/Quick-Start%20Guides/07-Deleting-an-App/).
|
||||
|
||||
## Support
|
||||
|
||||
- Please check our [quick-start guides](https://truecharts.org/manual/Quick-Start%20Guides/01-Open-Apps/) first.
|
||||
- See the [Wiki](https://truecharts.org)
|
||||
- Check our [Discord](https://discord.gg/tVsPTHWTtr)
|
||||
- Open a [issue](https://github.com/truecharts/apps/issues/new/choose)
|
||||
---
|
||||
All Rights Reserved - The TrueCharts Project
|
||||
3
incubator/librephotos/0.0.1/app-readme.md
Normal file
3
incubator/librephotos/0.0.1/app-readme.md
Normal file
@@ -0,0 +1,3 @@
|
||||
A self-hosted open source photo management service.
|
||||
|
||||
This App is supplied by TrueCharts, for more information please visit https://truecharts.org
|
||||
BIN
incubator/librephotos/0.0.1/charts/common-8.15.2.tgz
Normal file
BIN
incubator/librephotos/0.0.1/charts/common-8.15.2.tgz
Normal file
Binary file not shown.
BIN
incubator/librephotos/0.0.1/charts/postgresql-6.0.66.tgz
Normal file
BIN
incubator/librephotos/0.0.1/charts/postgresql-6.0.66.tgz
Normal file
Binary file not shown.
BIN
incubator/librephotos/0.0.1/charts/redis-1.0.71.tgz
Normal file
BIN
incubator/librephotos/0.0.1/charts/redis-1.0.71.tgz
Normal file
Binary file not shown.
85
incubator/librephotos/0.0.1/helm-values.md
Normal file
85
incubator/librephotos/0.0.1/helm-values.md
Normal file
@@ -0,0 +1,85 @@
|
||||
# Default Helm-Values
|
||||
|
||||
TrueCharts is primarily build to supply TrueNAS SCALE Apps.
|
||||
However, we also supply all Apps as standard Helm-Charts. In this document we aim to document the default values in our values.yaml file.
|
||||
|
||||
Most of our Apps also consume our "common" Helm Chart.
|
||||
If this is the case, this means that all values.yaml values are set to the common chart values.yaml by default. This values.yaml file will only contain values that deviate from the common chart.
|
||||
You will, however, be able to use all values referenced in the common chart here, besides the values listed in this document.
|
||||
|
||||
## Values
|
||||
|
||||
| Key | Type | Default | Description |
|
||||
|-----|------|---------|-------------|
|
||||
| additionalContainers.frontend.image | string | `"{{ .Values.frontendImage.repository }}:{{ .Values.frontendImage.tag }}"` | |
|
||||
| additionalContainers.frontend.name | string | `"frontend"` | |
|
||||
| additionalContainers.proxy.image | string | `"{{ .Values.proxyImage.repository }}:{{ .Values.proxyImage.tag }}"` | |
|
||||
| additionalContainers.proxy.name | string | `"proxy"` | |
|
||||
| additionalContainers.proxy.ports[0].containerPort | int | `80` | |
|
||||
| additionalContainers.proxy.ports[0].name | string | `"main"` | |
|
||||
| additionalContainers.proxy.volumeMounts[0].mountPath | string | `"/etc/nginx/nginx.conf"` | |
|
||||
| additionalContainers.proxy.volumeMounts[0].name | string | `"librephotos-config"` | |
|
||||
| additionalContainers.proxy.volumeMounts[0].readOnly | bool | `true` | |
|
||||
| additionalContainers.proxy.volumeMounts[0].subPath | string | `"nginx-config"` | |
|
||||
| additionalContainers.proxy.volumeMounts[1].mountPath | string | `"/data"` | |
|
||||
| additionalContainers.proxy.volumeMounts[1].name | string | `"media"` | |
|
||||
| additionalContainers.proxy.volumeMounts[2].mountPath | string | `"/protected_media"` | |
|
||||
| additionalContainers.proxy.volumeMounts[2].name | string | `"protected-media"` | |
|
||||
| env.BACKEND_HOST | string | `"localhost"` | |
|
||||
| env.DB_BACKEND | string | `"postgresql"` | |
|
||||
| env.DB_NAME | string | `"{{ .Values.postgresql.postgresqlDatabase }}"` | |
|
||||
| env.DB_PORT | string | `"5432"` | |
|
||||
| env.DB_USER | string | `"{{ .Values.postgresql.postgresqlUsername }}"` | |
|
||||
| env.DEBUG | int | `0` | |
|
||||
| env.HEAVYWEIGHT_PROCESS | int | `1` | |
|
||||
| env.REDIS_PORT | string | `"6379"` | |
|
||||
| env.SKIP_PATTERNS | string | `""` | |
|
||||
| env.TZ | string | `"UTC"` | |
|
||||
| env.WEB_CONCURRENCY | int | `2` | |
|
||||
| envValueFrom.DB_HOST.secretKeyRef.key | string | `"plainhost"` | |
|
||||
| envValueFrom.DB_HOST.secretKeyRef.name | string | `"dbcreds"` | |
|
||||
| envValueFrom.DB_PASS.secretKeyRef.key | string | `"postgresql-password"` | |
|
||||
| envValueFrom.DB_PASS.secretKeyRef.name | string | `"dbcreds"` | |
|
||||
| envValueFrom.REDIS_HOST.secretKeyRef.key | string | `"plainhost"` | |
|
||||
| envValueFrom.REDIS_HOST.secretKeyRef.name | string | `"rediscreds"` | |
|
||||
| envValueFrom.REDIS_PASS.secretKeyRef.key | string | `"redis-password"` | |
|
||||
| envValueFrom.REDIS_PASS.secretKeyRef.name | string | `"rediscreds"` | |
|
||||
| envValueFrom.SECRET_KEY.secretKeyRef.key | string | `"SECRET_KEY"` | |
|
||||
| envValueFrom.SECRET_KEY.secretKeyRef.name | string | `"librephotos-secrets"` | |
|
||||
| frontendImage.repository | string | `"tccr.io/truecharts/librephotos-frontend"` | |
|
||||
| frontendImage.tag | string | `"v2022w06@sha256:9cb2cb4865197d460405fecd79bdd7808333443cb2089753825f7f97365a53a3"` | |
|
||||
| image.pullPolicy | string | `"IfNotPresent"` | |
|
||||
| image.repository | string | `"tccr.io/truecharts/librephotos-backend"` | |
|
||||
| image.tag | string | `"v2022w06@sha256:4c24ce4ea5b340f83da0be0935eaea4ca525a15ed6da014f8ad8c709b377a837"` | |
|
||||
| persistence.cache.enabled | bool | `true` | |
|
||||
| persistence.cache.mountPath | string | `"/root/.cache"` | |
|
||||
| persistence.logs.enabled | bool | `true` | |
|
||||
| persistence.logs.mountPath | string | `"/logs"` | |
|
||||
| persistence.media.enabled | bool | `true` | |
|
||||
| persistence.media.mountPath | string | `"/data"` | |
|
||||
| persistence.protected-media.enabled | bool | `true` | |
|
||||
| persistence.protected-media.mountPath | string | `"/protected_media"` | |
|
||||
| podSecurityContext.runAsGroup | int | `0` | |
|
||||
| podSecurityContext.runAsUser | int | `0` | |
|
||||
| postgresql.enabled | bool | `true` | |
|
||||
| postgresql.existingSecret | string | `"dbcreds"` | |
|
||||
| postgresql.postgresqlDatabase | string | `"librephotos"` | |
|
||||
| postgresql.postgresqlUsername | string | `"librephotos"` | |
|
||||
| probes.liveness.path | string | `"/login"` | |
|
||||
| probes.readiness.path | string | `"/login"` | |
|
||||
| probes.startup.path | string | `"/login"` | |
|
||||
| proxyImage.repository | string | `"tccr.io/truecharts/librephotos-proxy"` | |
|
||||
| proxyImage.tag | string | `"v2022w06@sha256:c147eaa3e96348e44132958ca871114a2ce240f0fa3604f738801317af09a160"` | |
|
||||
| redis.enabled | bool | `true` | |
|
||||
| redis.existingSecret | string | `"rediscreds"` | |
|
||||
| redis.redisUsername | string | `"default"` | |
|
||||
| secret.ADMIN_EMAIL | string | `"admin@mydomain.com"` | |
|
||||
| secret.ADMIN_PASSWORD | string | `"password"` | |
|
||||
| secret.ADMIN_USERNAME | string | `"admin"` | |
|
||||
| secret.MAPBOX_API_KEY | string | `""` | |
|
||||
| securityContext.readOnlyRootFilesystem | bool | `false` | |
|
||||
| securityContext.runAsNonRoot | bool | `false` | |
|
||||
| service.main.ports.main.port | int | `10161` | |
|
||||
| service.main.ports.main.targetPort | int | `80` | |
|
||||
|
||||
All Rights Reserved - The TrueCharts Project
|
||||
121
incubator/librephotos/0.0.1/ix_values.yaml
Normal file
121
incubator/librephotos/0.0.1/ix_values.yaml
Normal file
@@ -0,0 +1,121 @@
|
||||
image:
|
||||
repository: tccr.io/truecharts/librephotos-backend
|
||||
tag: v2022w06@sha256:4c24ce4ea5b340f83da0be0935eaea4ca525a15ed6da014f8ad8c709b377a837
|
||||
pullPolicy: IfNotPresent
|
||||
|
||||
frontendImage:
|
||||
repository: tccr.io/truecharts/librephotos-frontend
|
||||
tag: v2022w06@sha256:9cb2cb4865197d460405fecd79bdd7808333443cb2089753825f7f97365a53a3
|
||||
|
||||
proxyImage:
|
||||
repository: tccr.io/truecharts/librephotos-proxy
|
||||
tag: v2022w06@sha256:c147eaa3e96348e44132958ca871114a2ce240f0fa3604f738801317af09a160
|
||||
|
||||
securityContext:
|
||||
readOnlyRootFilesystem: false
|
||||
runAsNonRoot: false
|
||||
|
||||
podSecurityContext:
|
||||
runAsUser: 0
|
||||
runAsGroup: 0
|
||||
|
||||
secret:
|
||||
ADMIN_EMAIL: "admin@mydomain.com"
|
||||
ADMIN_USERNAME: "admin"
|
||||
ADMIN_PASSWORD: "password"
|
||||
MAPBOX_API_KEY: ""
|
||||
|
||||
env:
|
||||
TZ: UTC
|
||||
BACKEND_HOST: "localhost"
|
||||
DB_BACKEND: "postgresql"
|
||||
DB_NAME: "{{ .Values.postgresql.postgresqlDatabase }}"
|
||||
DB_USER: "{{ .Values.postgresql.postgresqlUsername }}"
|
||||
DB_PORT: "5432"
|
||||
REDIS_PORT: "6379"
|
||||
WEB_CONCURRENCY: 2
|
||||
SKIP_PATTERNS: ""
|
||||
HEAVYWEIGHT_PROCESS: 1
|
||||
DEBUG: 0
|
||||
|
||||
envValueFrom:
|
||||
DB_PASS:
|
||||
secretKeyRef:
|
||||
name: dbcreds
|
||||
key: postgresql-password
|
||||
DB_HOST:
|
||||
secretKeyRef:
|
||||
name: dbcreds
|
||||
key: plainhost
|
||||
REDIS_HOST:
|
||||
secretKeyRef:
|
||||
name: rediscreds
|
||||
key: plainhost
|
||||
REDIS_PASS:
|
||||
secretKeyRef:
|
||||
name: rediscreds
|
||||
key: redis-password
|
||||
SECRET_KEY:
|
||||
secretKeyRef:
|
||||
name: librephotos-secrets
|
||||
key: SECRET_KEY
|
||||
|
||||
probes:
|
||||
liveness:
|
||||
path: "/login"
|
||||
readiness:
|
||||
path: "/login"
|
||||
startup:
|
||||
path: "/login"
|
||||
|
||||
redis:
|
||||
enabled: true
|
||||
existingSecret: "rediscreds"
|
||||
redisUsername: default
|
||||
|
||||
postgresql:
|
||||
enabled: true
|
||||
existingSecret: "dbcreds"
|
||||
postgresqlUsername: librephotos
|
||||
postgresqlDatabase: librephotos
|
||||
|
||||
service:
|
||||
main:
|
||||
ports:
|
||||
main:
|
||||
port: 10161
|
||||
targetPort: 80
|
||||
|
||||
additionalContainers:
|
||||
proxy:
|
||||
name: proxy
|
||||
image: "{{ .Values.proxyImage.repository }}:{{ .Values.proxyImage.tag }}"
|
||||
ports:
|
||||
- containerPort: 80
|
||||
name: main
|
||||
volumeMounts:
|
||||
- name: librephotos-config
|
||||
mountPath: "/etc/nginx/nginx.conf"
|
||||
subPath: nginx-config
|
||||
readOnly: true
|
||||
- name: media
|
||||
mountPath: "/data"
|
||||
- name: protected-media
|
||||
mountPath: "/protected_media"
|
||||
frontend:
|
||||
name: frontend
|
||||
image: "{{ .Values.frontendImage.repository }}:{{ .Values.frontendImage.tag }}"
|
||||
|
||||
persistence:
|
||||
media:
|
||||
enabled: true
|
||||
mountPath: "/data"
|
||||
protected-media:
|
||||
enabled: true
|
||||
mountPath: "/protected_media"
|
||||
logs:
|
||||
enabled: true
|
||||
mountPath: "/logs"
|
||||
cache:
|
||||
enabled: true
|
||||
mountPath: "/root/.cache"
|
||||
2776
incubator/librephotos/0.0.1/questions.yaml
Normal file
2776
incubator/librephotos/0.0.1/questions.yaml
Normal file
File diff suppressed because it is too large
Load Diff
1045
incubator/librephotos/0.0.1/security.md
Normal file
1045
incubator/librephotos/0.0.1/security.md
Normal file
File diff suppressed because one or more lines are too long
20
incubator/librephotos/0.0.1/templates/_secrets.tpl
Normal file
20
incubator/librephotos/0.0.1/templates/_secrets.tpl
Normal file
@@ -0,0 +1,20 @@
|
||||
{{/* Define the secrets */}}
|
||||
{{- define "librephotos.secrets" -}}
|
||||
---
|
||||
|
||||
apiVersion: v1
|
||||
kind: Secret
|
||||
type: Opaque
|
||||
metadata:
|
||||
name: librephotos-secrets
|
||||
{{- $librephotosprevious := lookup "v1" "Secret" .Release.Namespace "librephotos-secrets" }}
|
||||
{{- $secret_key := "" }}
|
||||
data:
|
||||
{{- if $librephotosprevious}}
|
||||
SECRET_KEY: {{ index $librephotosprevious.data "SECRET_KEY" }}
|
||||
{{- else }}
|
||||
{{- $secret_key := randAlphaNum 32 }}
|
||||
SECRET_KEY: {{ $secret_key | b64enc | quote }}
|
||||
{{- end }}
|
||||
|
||||
{{- end -}}
|
||||
19
incubator/librephotos/0.0.1/templates/common.yaml
Normal file
19
incubator/librephotos/0.0.1/templates/common.yaml
Normal file
@@ -0,0 +1,19 @@
|
||||
{{- include "common.setup" . }}
|
||||
|
||||
{{/* Append the general configMap volume to the volumes */}}
|
||||
{{- define "librephotos.harcodedValues" -}}
|
||||
persistence:
|
||||
librephotos-config:
|
||||
enabled: "true"
|
||||
mountPath: "/etc/nginx/nginx.conf"
|
||||
subPath: "nginx-config"
|
||||
type: "custom"
|
||||
volumeSpec:
|
||||
configMap:
|
||||
name: {{ printf "%v-config" (include "common.names.fullname" .) }}
|
||||
{{- end -}}
|
||||
{{- $_ := mergeOverwrite .Values (include "librephotos.harcodedValues" . | fromYaml) -}}
|
||||
|
||||
{{- include "librephotos.secrets" . }}
|
||||
|
||||
{{ include "common.postSetup" . }}
|
||||
63
incubator/librephotos/0.0.1/templates/configmap.yaml
Normal file
63
incubator/librephotos/0.0.1/templates/configmap.yaml
Normal file
@@ -0,0 +1,63 @@
|
||||
---
|
||||
apiVersion: v1
|
||||
kind: ConfigMap
|
||||
metadata:
|
||||
name: {{ include "common.names.fullname" . }}-config
|
||||
labels:
|
||||
{{- include "common.labels" . | nindent 4 }}
|
||||
data:
|
||||
nginx-config: |-
|
||||
user nginx;
|
||||
worker_processes 1;
|
||||
|
||||
error_log /var/log/nginx/error.log debug;
|
||||
|
||||
events {
|
||||
worker_connections 1024;
|
||||
}
|
||||
|
||||
http {
|
||||
server {
|
||||
listen 80;
|
||||
location / {
|
||||
# React routes are entirely on the App side in the web broswer
|
||||
# Always proxy to root with the same page request when nginx 404s
|
||||
error_page 404 /;
|
||||
proxy_intercept_errors on;
|
||||
proxy_set_header Host $host;
|
||||
proxy_pass http://localhost:3000/;
|
||||
}
|
||||
location ~ ^/(api|media)/ {
|
||||
proxy_set_header X-Forwarded-Proto $scheme;
|
||||
proxy_set_header X-Real-IP $remote_addr;
|
||||
proxy_set_header Host $host;
|
||||
include uwsgi_params;
|
||||
proxy_pass http://localhost:8001;
|
||||
}
|
||||
# Django media
|
||||
location /protected_media {
|
||||
internal;
|
||||
alias /protected_media/;
|
||||
}
|
||||
|
||||
location /static/drf-yasg {
|
||||
proxy_pass http://localhost:8001;
|
||||
}
|
||||
|
||||
location /data {
|
||||
internal;
|
||||
alias /data/;
|
||||
}
|
||||
|
||||
# Original Photos
|
||||
location /original {
|
||||
internal;
|
||||
alias /data/;
|
||||
}
|
||||
# Nextcloud Original Photos
|
||||
location /nextcloud_original {
|
||||
internal;
|
||||
alias /data/nextcloud_media/;
|
||||
}
|
||||
}
|
||||
}
|
||||
0
incubator/librephotos/0.0.1/values.yaml
Normal file
0
incubator/librephotos/0.0.1/values.yaml
Normal file
4
incubator/librephotos/item.yaml
Normal file
4
incubator/librephotos/item.yaml
Normal file
@@ -0,0 +1,4 @@
|
||||
icon_url: https://truecharts.org/_static/img/appicons/librephotos-icon.png
|
||||
categories:
|
||||
- media
|
||||
|
||||
Reference in New Issue
Block a user