2022-02-13 12:08:40 +00:00
|
|
|
image:
|
|
|
|
repository: tccr.io/truecharts/linkace
|
2022-09-05 05:50:05 +00:00
|
|
|
tag: 1.10.4@sha256:a2299c14e9f6e56067f8ead85dd641216ea6143d90514131d5b7a792fa1f556e
|
2022-02-13 12:08:40 +00:00
|
|
|
pullPolicy: IfNotPresent
|
|
|
|
|
|
|
|
securityContext:
|
2022-02-13 22:02:37 +00:00
|
|
|
readOnlyRootFilesystem: false
|
2022-02-13 12:08:40 +00:00
|
|
|
runAsNonRoot: false
|
|
|
|
|
|
|
|
podSecurityContext:
|
|
|
|
runAsUser: 0
|
|
|
|
runAsGroup: 0
|
2022-07-02 20:32:57 +00:00
|
|
|
fsGroup: 82
|
2022-02-13 12:08:40 +00:00
|
|
|
|
2022-06-17 08:24:54 +00:00
|
|
|
# secretEnv:
|
|
|
|
# CRON_TOKEN: ""
|
|
|
|
# AWS_ACCESS_KEY_ID: ""
|
|
|
|
# AWS_SECRET_ACCESS_KEY: ""
|
|
|
|
# AWS_DEFAULT_REGION: ""
|
|
|
|
# AWS_BUCKET: ""
|
|
|
|
# MAIL_DRIVER: "smtp"
|
|
|
|
# MAIL_FROM_ADDRESS: ""
|
|
|
|
# MAIL_FROM_NAME: ""
|
|
|
|
# MAIL_HOST: ""
|
|
|
|
# MAIL_PORT: "587"
|
|
|
|
# MAIL_USERNAME: ""
|
|
|
|
# MAIL_PASSWORD: ""
|
|
|
|
# MAIL_ENCRYPTION: "tls"
|
|
|
|
|
2022-02-13 12:08:40 +00:00
|
|
|
env:
|
|
|
|
# Internal Envs
|
|
|
|
DB_CONNECTION: "mysql"
|
|
|
|
DB_PORT: "3306"
|
|
|
|
DB_DATABASE: "{{ .Values.mariadb.mariadbDatabase }}"
|
|
|
|
DB_USERNAME: "{{ .Values.mariadb.mariadbUsername }}"
|
|
|
|
REDIS_PORT: "6379"
|
|
|
|
CACHE_DRIVER: "redis"
|
|
|
|
SESSION_DRIVER: "redis"
|
|
|
|
APP_NAME: "LinkAce"
|
|
|
|
APP_ENV: "production"
|
2022-03-06 19:08:58 +00:00
|
|
|
APP_TIMEZONE: "{{ .Values.TZ }}"
|
2022-02-13 12:08:40 +00:00
|
|
|
# User Envs
|
|
|
|
APP_URL: "http://localhost"
|
|
|
|
APP_DEBUG: false
|
|
|
|
BACKUP_ENABLED: false
|
2022-09-25 13:02:32 +00:00
|
|
|
BACKUP_DISK: local_backups
|
2022-02-13 12:08:40 +00:00
|
|
|
BACKUP_NOTIFICATION_EMAIL: your@email.com
|
|
|
|
BACKUP_MAX_SIZE: 512
|
|
|
|
DB_HOST:
|
|
|
|
secretKeyRef:
|
|
|
|
name: mariadbcreds
|
|
|
|
key: plainhost
|
|
|
|
DB_PASSWORD:
|
|
|
|
secretKeyRef:
|
|
|
|
name: mariadbcreds
|
|
|
|
key: mariadb-password
|
|
|
|
REDIS_HOST:
|
|
|
|
secretKeyRef:
|
|
|
|
name: rediscreds
|
|
|
|
key: plainhost
|
|
|
|
REDIS_PASSWORD:
|
|
|
|
secretKeyRef:
|
|
|
|
name: rediscreds
|
|
|
|
key: redis-password
|
|
|
|
APP_KEY:
|
|
|
|
secretKeyRef:
|
|
|
|
name: linkace-secrets
|
|
|
|
key: APP_KEY
|
|
|
|
|
2022-02-13 22:02:37 +00:00
|
|
|
# Set cron every 15 min, official docs says every minute, but seems excesive.
|
|
|
|
# It just checks for dead links and sends a request to WayBack Machine to archive.
|
2022-02-13 12:08:40 +00:00
|
|
|
cronjob:
|
2022-02-13 22:02:37 +00:00
|
|
|
schedule: "*/15 * * * *"
|
2022-02-13 12:08:40 +00:00
|
|
|
annotations: {}
|
|
|
|
failedJobsHistoryLimit: 5
|
|
|
|
successfulJobsHistoryLimit: 2
|
|
|
|
|
|
|
|
service:
|
|
|
|
main:
|
|
|
|
ports:
|
|
|
|
main:
|
|
|
|
port: 10160
|
|
|
|
targetPort: 80
|
|
|
|
|
|
|
|
persistence:
|
|
|
|
logs:
|
|
|
|
enabled: true
|
|
|
|
mountPath: "/app/storage/logs"
|
|
|
|
backups:
|
|
|
|
enabled: true
|
|
|
|
mountPath: "/app/storage/app/backups"
|
|
|
|
|
|
|
|
mariadb:
|
|
|
|
enabled: true
|
|
|
|
mariadbUsername: linkace
|
|
|
|
mariadbDatabase: linkace
|
|
|
|
existingSecret: "mariadbcreds"
|
|
|
|
|
|
|
|
redis:
|
|
|
|
enabled: true
|
|
|
|
existingSecret: "rediscreds"
|
2022-08-08 21:25:02 +00:00
|
|
|
|
|
|
|
portal:
|
|
|
|
enabled: true
|