Skip to content
Commits on Source (2)
...@@ -164,7 +164,8 @@ data: ...@@ -164,7 +164,8 @@ data:
<?php <?php
$CONFIG = Minds\Core\Di\Di::_()->get('Config'); $CONFIG = Minds\Core\Di\Di::_()->get('Config');
$CONFIG->minds_debug = true; $CONFIG->minds_debug = true;
$CONFIG->development_mode = true; // Disable admin VPN
// Cassandra configuration // Cassandra configuration
$CONFIG->cassandra = (object) [ $CONFIG->cassandra = (object) [
'keyspace' => '{{ .Values.cassandra.keyspace }}', 'keyspace' => '{{ .Values.cassandra.keyspace }}',
...@@ -227,7 +228,7 @@ data: ...@@ -227,7 +228,7 @@ data:
$CONFIG->set('oauth', [ $CONFIG->set('oauth', [
'clients' => [ 'clients' => [
'mobile' => [ 'mobile' => [
'secret' => '', 'secret' => '{{ .Values.mobileSecret }}',
], ],
], ],
'encryption_key' => '{{ .Values.jwtsecret }}', 'encryption_key' => '{{ .Values.jwtsecret }}',
...@@ -524,7 +525,7 @@ data: ...@@ -524,7 +525,7 @@ data:
'suggested-users' => false, 'suggested-users' => false,
'helpdesk' => true, 'helpdesk' => true,
'top-feeds' => true, 'top-feeds' => true,
'es-feeds' => false, 'es-feeds' => 'canary',
'cassandra-notifications' => true, 'cassandra-notifications' => true,
]); ]);
php-fpm.conf: |- php-fpm.conf: |-
...@@ -680,9 +681,9 @@ data: ...@@ -680,9 +681,9 @@ data:
stdout_logfile=/dev/stdout stdout_logfile=/dev/stdout
stdout_logfile_maxbytes=0 stdout_logfile_maxbytes=0
[program:minds-channel-cleanup] [program:minds-channel-deferred-ops]
process_name=%(program_name)s_%(process_num)02d process_name=%(program_name)s_%(process_num)02d
command=php /var/www/Minds/engine/cli.php QueueRunner run --runner=ChannelDeleteArtifactsCleanup command=php /var/www/Minds/engine/cli.php QueueRunner run --runner=ChannelDeferredOps
autostart=true autostart=true
autorestart=true autorestart=true
numprocs={{ .Values.runners.dispatchers.channelcleanup.replicas | default 1 }} numprocs={{ .Values.runners.dispatchers.channelcleanup.replicas | default 1 }}
...@@ -718,4 +719,4 @@ data: ...@@ -718,4 +719,4 @@ data:
numprocs={{ .Values.runners.dispatchers.welcomeemail.replicas | default 4 }} numprocs={{ .Values.runners.dispatchers.welcomeemail.replicas | default 4 }}
redirect_stderr=true redirect_stderr=true
stdout_logfile=/dev/stdout stdout_logfile=/dev/stdout
stdout_logfile_maxbytes=0 stdout_logfile_maxbytes=0
\ No newline at end of file
...@@ -15,3 +15,5 @@ data: ...@@ -15,3 +15,5 @@ data:
phonenumber-private-key.pem: {{ .Files.Get "certs/phonenumber-private-key.pem" | b64enc | quote }} phonenumber-private-key.pem: {{ .Files.Get "certs/phonenumber-private-key.pem" | b64enc | quote }}
sessions-public-key.pem: {{ .Files.Get "certs/sessions-public-key.pem" | b64enc | quote }} sessions-public-key.pem: {{ .Files.Get "certs/sessions-public-key.pem" | b64enc | quote }}
sessions-private-key.pem: {{ .Files.Get "certs/sessions-private-key.pem" | b64enc | quote }} sessions-private-key.pem: {{ .Files.Get "certs/sessions-private-key.pem" | b64enc | quote }}
oauth-priv.key: {{ .Files.Get "certs/sessions-private-key.pem" | b64enc | quote }}
oauth-pub.key: {{ .Files.Get "certs/sessions-public-key.pem" | b64enc | quote }}