Add Lemmy.
This commit is contained in:
36
lemmy/configmap.yaml
Normal file
36
lemmy/configmap.yaml
Normal file
@@ -0,0 +1,36 @@
|
||||
apiVersion: v1
|
||||
kind: ConfigMap
|
||||
metadata:
|
||||
name: lemmy-config
|
||||
namespace: {{ .namespace }}
|
||||
data:
|
||||
lemmy.hjson: |
|
||||
{
|
||||
hostname: "{{ .domain }}"
|
||||
bind: "0.0.0.0"
|
||||
port: {{ .backendPort }}
|
||||
tls_enabled: false
|
||||
|
||||
database: {
|
||||
uri: "postgresql://{{ .dbUser }}:DBPASSWORD@{{ .dbHost }}:{{ .dbPort }}/{{ .dbName }}"
|
||||
}
|
||||
|
||||
pictrs: {
|
||||
url: "http://lemmy-pictrs:{{ .pictrsPort }}/"
|
||||
api_key: "PICTRS_API_KEY"
|
||||
}
|
||||
|
||||
email: {
|
||||
smtp_server: "{{ .smtp.host }}:{{ .smtp.port }}"
|
||||
smtp_login: "{{ .smtp.user }}"
|
||||
smtp_password: "SMTP_PASSWORD"
|
||||
smtp_from_address: "{{ .smtp.from }}"
|
||||
tls_type: "{{ if eq .smtp.tls "true" }}tls{{ else }}none{{ end }}"
|
||||
}
|
||||
|
||||
setup: {
|
||||
admin_username: "admin"
|
||||
admin_password: "ADMIN_PASSWORD"
|
||||
site_name: "Lemmy"
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user