Nikolai Rodionov
5629800c2f
Reviewed-on: https://git.badhouseplants.net/softplayer/softplayer-apps/pulls/4
115 lines
2.5 KiB
YAML
115 lines
2.5 KiB
YAML
---
|
|
workload:
|
|
kind: Deployment
|
|
strategy:
|
|
type: RollingUpdate
|
|
containers:
|
|
mealie:
|
|
image:
|
|
registry: registry.hub.docker.com
|
|
repository: vaultwarden/server
|
|
tag:
|
|
pullPolicy: Always
|
|
ports:
|
|
- vaultwarden
|
|
mounts:
|
|
storage:
|
|
data:
|
|
path: /app/data/
|
|
# logs:
|
|
# path: /app/logs
|
|
envFrom:
|
|
- environment
|
|
- secrets
|
|
livenessProbe:
|
|
exec:
|
|
command:
|
|
- sh
|
|
- /healthcheck.sh
|
|
readinessProbe:
|
|
exec:
|
|
command:
|
|
- sh
|
|
- /healthcheck.sh
|
|
initialDelaySeconds: 10
|
|
periodSeconds: 10
|
|
|
|
ingress:
|
|
main:
|
|
class: traefik
|
|
annotations:
|
|
annotation: test
|
|
rules:
|
|
- hosts: vaultwarden.softplayer.net
|
|
http:
|
|
paths:
|
|
- backend:
|
|
service:
|
|
name: '{{ include "chart.fullname" $ }}'
|
|
port: 8080
|
|
tls:
|
|
- hosts:
|
|
- vaultwarden.softplayer.net
|
|
secretName: vaultwarden.softplayer.net
|
|
|
|
service:
|
|
type: ClusterIP
|
|
ports:
|
|
vaultwarden:
|
|
port: 9000
|
|
targetPort: 9000
|
|
protocol: TCP
|
|
|
|
storage:
|
|
data:
|
|
storageClassName: default
|
|
size: 1G
|
|
accessModes:
|
|
- ReadWriteOnce
|
|
# logs:
|
|
# storageClassName: default
|
|
# size: 1G
|
|
# accessModes:
|
|
# - ReadWriteOnce
|
|
|
|
# -- Please have a look here: https://github.com/dani-garcia/vaultwarden/blob/main/.env.template
|
|
env:
|
|
environment:
|
|
enabled: true
|
|
sensitive: false
|
|
data:
|
|
DOMAIN: vaultwarden.softplayer.net
|
|
SMTP_HOST: ~
|
|
SMTP_SECURITY: startls
|
|
SMTP_PORT: 587
|
|
SMTP_AUTH_MECHANISM: Plain
|
|
SMTP_FROM: vaultwarden@softplayer.net
|
|
SMTP_FROM_NAME: Soft Player
|
|
SMTP_DEBUG: false
|
|
SMTP_ACCEPT_INVALID_HOSTNAMES: false
|
|
SMTP_ACCEPT_INVALID_CERTS: false
|
|
SMTP_USERNAME: ~
|
|
DATA_FOLDER: /app/data/
|
|
ROCKET_PORT: 8080
|
|
SHOW_PASSWORD_HINT: true
|
|
SIGNUPS_ALLOWED: false
|
|
INVITATIONS_ALLOWED: true
|
|
SIGNUPS_DOMAINS_WHITELIST: "*"
|
|
SIGNUPS_VERIFY: true
|
|
WEB_VAULT_ENABLED: true
|
|
LOG_FILE: /app/logs
|
|
LOG_LEVEL: info
|
|
DB_CONNECTION_RETRIES: 10
|
|
DATABASE_MAX_CONNS: 10
|
|
ORG_GROUPS_ENABLED: true
|
|
ORG_EVENTS_ENABLED: true
|
|
ORG_CREATION_USERS: ""
|
|
|
|
secrets:
|
|
enabled: true
|
|
sensitive: true
|
|
data:
|
|
ADMIN_TOKEN: "R@ndomToken$tring"
|
|
DATABASE_URL: ~
|
|
SMTP_PASSWORD: ~
|