appsettings.json.j2
This commit is contained in:
@@ -2,6 +2,13 @@
|
|||||||
---
|
---
|
||||||
# defaults file for ansible-role-fediprofile
|
# defaults file for ansible-role-fediprofile
|
||||||
fediprofile_hostname: fediprofile.example.com
|
fediprofile_hostname: fediprofile.example.com
|
||||||
|
fediprofile_mastodon_admin_user: changeme
|
||||||
|
fediprofile_mastodon_domain: mastodon.social
|
||||||
|
fediprofile_single_user_instance: false
|
||||||
|
fediprofile_domains:
|
||||||
|
- localhost
|
||||||
|
- localhost:5099
|
||||||
|
fediprofile_registration_open: false
|
||||||
fediprofile_namespace: fediprofile
|
fediprofile_namespace: fediprofile
|
||||||
fediprofile_pvc_size_data: 2Gi
|
fediprofile_pvc_size_data: 2Gi
|
||||||
fediprofile_pvc_size_uploads: 2Gi
|
fediprofile_pvc_size_uploads: 2Gi
|
||||||
|
|||||||
+1
-1
@@ -20,7 +20,7 @@
|
|||||||
name: config
|
name: config
|
||||||
namespace: "{{ fediprofile_namespace }}"
|
namespace: "{{ fediprofile_namespace }}"
|
||||||
data:
|
data:
|
||||||
fediprofile.yml: "{{ lookup('template', 'fediprofile.yml.j2') }}"
|
fediprofile.yml: "{{ lookup('template', 'appsettings.json.j2') }}"
|
||||||
|
|
||||||
- name: pvc for data
|
- name: pvc for data
|
||||||
k8s:
|
k8s:
|
||||||
|
|||||||
@@ -0,0 +1,22 @@
|
|||||||
|
{
|
||||||
|
"AdminAuthentication": {
|
||||||
|
"MastodonUser": "{{ fediprofile_mastodon_admin_user }}",
|
||||||
|
"MastodonDomain": "{{ fediprofile_mastodon_domain }}"
|
||||||
|
},
|
||||||
|
"Domains": {{ fediprofile_domains }},
|
||||||
|
"DomainConfig": {
|
||||||
|
"localhost": {
|
||||||
|
"SingleUserInstance": {{ fediprofile_single_user_instance }}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"SingleUserInstance": {{ fediprofile_single_user_instance }},
|
||||||
|
"RegistrationOpen": {{ fediprofile_registration_open }},
|
||||||
|
"InvitationCode": "",
|
||||||
|
"Authentication": {
|
||||||
|
"LinkedIn": {
|
||||||
|
"ClientId": "",
|
||||||
|
"ClientSecret": "",
|
||||||
|
"UseProfileBasicInfo": false
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
Reference in New Issue
Block a user