Compare commits
27 Commits
81b3f78277
...
148f933eb5
| Author | SHA1 | Date | |
|---|---|---|---|
| 148f933eb5 | |||
| f5ebc86960 | |||
| f9189b164c | |||
| 22a7510405 | |||
| 44da4e2899 | |||
| 3c68f67933 | |||
| cccde99567 | |||
| 170b6f5f4b | |||
| 9490904bb9 | |||
| a8fdb1b40d | |||
| c3c6a002e2 | |||
| e6d38bbfd0 | |||
| b7fcb2150e | |||
| 0f67ff3233 | |||
| 945f9e6a4b | |||
| 138af5a9d9 | |||
| 4e6ca5b140 | |||
| 83d807b7a7 | |||
| 51309b69f7 | |||
| 30630d9df5 | |||
| 99b3eae130 | |||
| a2c4f5977c | |||
| 837e72251d | |||
| a4e5b53ff8 | |||
| 3fd46817d2 | |||
| a1611a7130 | |||
| e07aa1b9c4 |
66
tasks/discourse.yaml
Normal file
66
tasks/discourse.yaml
Normal file
@@ -0,0 +1,66 @@
|
||||
---
|
||||
# tasks file for discourse
|
||||
- name: Deploy Discourse
|
||||
kubernetes.core.helm:
|
||||
name: discourse
|
||||
chart_ref: bitnami/discourse
|
||||
release_namespace: discourse
|
||||
create_namespace: true
|
||||
values:
|
||||
auth:
|
||||
email: discourse@eom.dev
|
||||
username: discourse_admin
|
||||
password: "{{ discourse_admin_password }}"
|
||||
host: "https://discourse.eom.dev"
|
||||
siteName: 'Discourse'
|
||||
smtp:
|
||||
enabled: true
|
||||
host: "postfix.eom.dev"
|
||||
port: "587"
|
||||
protocol: "tls"
|
||||
user: "discourse"
|
||||
password: "{{ discourse_admin_password }}"
|
||||
image:
|
||||
debug: true
|
||||
discourse:
|
||||
skipInstall: false
|
||||
plugins:
|
||||
- https://github.com/discourse/discourse-adplugin
|
||||
- https://github.com/discourse/discourse-subscriptions
|
||||
- https://github.com/discourse/discourse-activity-pub
|
||||
- https://github.com/discourse/discourse-openid-connect
|
||||
- https://github.com/jonmbake/discourse-ldap-auth
|
||||
command:
|
||||
- /bin/bash
|
||||
args:
|
||||
- -c
|
||||
- |
|
||||
rm -r /opt/bitnami/discourse/plugins/chat
|
||||
chown -R discourse:root /opt/bitnami/discourse/plugins
|
||||
/opt/bitnami/scripts/discourse/entrypoint.sh /opt/bitnami/scripts/discourse/run.sh
|
||||
persistPlugins: false
|
||||
compatiblePlugins: true
|
||||
resourcesPreset: none
|
||||
persistence:
|
||||
size: 2Ti
|
||||
ingress:
|
||||
enabled: true
|
||||
ingressClassName: "nginx"
|
||||
hostname: discourse.eom.dev
|
||||
annotations:
|
||||
cert-manager.io/cluster-issuer: ca-issuer
|
||||
nginx.ingress.kubernetes.io/proxy-set-header: "X-Forwarded-Proto $scheme"
|
||||
tls: true
|
||||
postgresql:
|
||||
enabled: true
|
||||
auth:
|
||||
enablePostgresUser: true
|
||||
postgresPassword: "{{ discourse_admin_password }}"
|
||||
password: "{{ discourse_admin_password }}"
|
||||
primary:
|
||||
persistence:
|
||||
size: 2Ti
|
||||
redis:
|
||||
enabled: true
|
||||
auth:
|
||||
password: "{{ discourse_admin_password }}"
|
||||
@@ -42,6 +42,19 @@
|
||||
enabled: true
|
||||
provisioning:
|
||||
enabled: true
|
||||
statefulset:
|
||||
actRunner:
|
||||
config: |
|
||||
log:
|
||||
level: debug
|
||||
cache:
|
||||
enabled: false
|
||||
runner:
|
||||
labels:
|
||||
- "ubuntu-latest:docker://node:16-bullseye"
|
||||
- "ubuntu-22.04:docker://node:16-bullseye"
|
||||
- "ubuntu-20.04:docker://node:16-bullseye"
|
||||
- "ubuntu-18.04:docker://node:16-buster"
|
||||
gitea:
|
||||
metrics:
|
||||
enabled: true
|
||||
|
||||
@@ -48,7 +48,7 @@
|
||||
spec:
|
||||
containers:
|
||||
- name: owncast
|
||||
image: owncast/owncast
|
||||
image: owncast/owncast:0.2.0
|
||||
volumeMounts:
|
||||
- name: data
|
||||
mountPath: /app/data
|
||||
|
||||
Reference in New Issue
Block a user