...
 
Commits (3)
......@@ -234,6 +234,17 @@ data:
'encryption_key' => '{{ .Values.jwtsecret }}',
]);
// Storage setup
$CONFIG->storage_engine = '{{ .Values.storageEngine }}';
// AWS configuration
$CONFIG->set('aws', [
'useRoles' => {{ .Values.aws.useRoles }},
'account_id' => '{{ .Values.aws.account_id }}',
'region' => '{{ .Values.aws.region }}',
'bucket' => '{{ .Values.aws.s3Bucket }}',
]);
// Legacy elgg configuration
$CONFIG->installed = true;
$CONFIG->path = '{{ .Values.path }}';
......@@ -588,7 +599,7 @@ data:
'suggested-users' => false,
'helpdesk' => true,
'top-feeds' => true,
'es-feeds' => 'canary',
'es-feeds' => true,
'cassandra-notifications' => true,
]);
php-fpm.conf: |-
......
......@@ -8,12 +8,12 @@ phpfpm:
tag: latest
pullPolicy: Always
replicas: 1
max_children: 5 #500 on production
max_children: 10 #500 on production
max_requests: 200 #20000 on production
resources:
limits:
memory: 512Mi
cpu: 600m
memory: 1Gi # 1GB of memory
cpu: 1000m # 1 CPU allocated
requests:
cpu: 200m
memory: 256Mi
......@@ -180,6 +180,15 @@ rabbitmq:
queueExchange: 'minds'
storageEngine: 'S3'
aws:
useRoles: false
account_id: '324044571751'
region: 'us-east-1'
bucket: 'minds-sandbox'
snsSecret: ''
# CockroachDB
cockroachdb:
Replicas: 1
......@@ -203,9 +212,6 @@ encryptionKeys:
private:
public:
aws:
snsSecret:
blockchain:
testNet: 'true'
clientNetwork: '4'
......