Skip to content
Next
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Switch to GitLab Next
Sign in / Register
Toggle navigation
Helm Charts for Minds Projects
Project
Project
Details
Activity
Releases
Cycle Analytics
Insights
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Locked Files
Issues
2
Issues
2
List
Boards
Labels
Service Desk
Milestones
Merge Requests
3
Merge Requests
3
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Packages
Packages
List
Container Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Minds
Helm Charts for Minds Projects
Commits
9f0b96a8
Commit
9f0b96a8
authored
2 hours ago
by
Ben Hayward
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Added in aws transcoding
parent
c80aebae
sandbox-wip-aws-creds
1 merge request
!8
[Sprint/JollyJellyfish](chore): Added transcoding / aws
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
118 additions
and
1 deletion
+118
-1
configMap.yaml
minds/templates/configMap.yaml
+67
-0
values.yaml
minds/values.yaml
+51
-1
No files found.
minds/templates/configMap.yaml
View file @
9f0b96a8
...
...
@@ -591,6 +591,72 @@ data:
'es-feeds' => 'canary',
'cassandra-notifications' => true,
]);
$CONFIG->set('aws', [
'key' => '{{ .Values.aws.key }}',
'secret' => '{{ .Values.aws.secret }}',
'useRoles' => '{{ .Values.aws.useRoles }}',
'bucket' => '{{ .Values.aws.bucket }}',
'staticStorage' => '{{ .Values.aws.staticStorage }}',
'region' => '{{ .Values.aws.region }}',
'account_id' => '{{ .Values.aws.account_id }}',
'elastic_transcoder' => [
'pipeline_id' => '{{ .Values.aws.pipeline_id }}',
'presets' => [
'360.mp4' => '{{ .Values.aws.mp4_360 }}',
'720.mp4' => '{{ .Values.aws.mp4_720 }}',
'360.webm' => '{{ .Values.aws.webm_360 }}',
'720.webm' => '{{ .Values.aws.webm_720 }}',
],
'dir' => '{{ .Values.aws.dir }}',
],
'queue' => [
'namespace' => '{{ .Values.aws.namespace }}',
'wait_seconds' => '{{ .Values.aws.wait_seconds }}',
]
]);
$CONFIG->set('transcode', [
'free_threshold' => '{{ .Values.transcode.free_threshold }}',
'hd_price' => '{{ .Values.transcode.hd_price }}',
'fhd_price' => '{{ .Values.transcode.fhd_price }}',
]);
$CONFIG->set('transcoder', [
'threads' => '{{ .Values.transcoder.threads }}',
'dir' => '{{ .Values.transcoder.dir }}',
'presets' => [
[
'width' => '{{ .Values.transcoder.width }}',
'height' => '{{ .Values.transcoder.height }}',
'bitrate' => '{{ .Values.transcoder.bitrate }}',
'audio_bitrate' => '{{ .Values.transcoder.audio_bitrate }}',
'formats' => '{{ .Values.transcoder.formats | toJson }}',
'charge' => '{{ .Values.transcoder.charge }}',
],
[
'width' => '{{ .Values.transcoder.width2 }}',
'height' => '{{ .Values.transcoder.height2 }}',
'bitrate' => '{{ .Values.transcoder.bitrate2 }}'
'audio_bitrate' => '{{ .Values.transcoder.audio_bitrate2 }}',
'formats' => '{{ .Values.transcoder.formats2 | toJson }}',
'charge' => '{{ .Values.transcoder.charge2 }}',
],
[
'width' => '{{ .Values.transcoder.width3 }}',
'height' => '{{ .Values.transcoder.height3 }}',
'bitrate' => '{{ .Values.transcoder.bitrate3 }}',
'audio_bitrate' => '{{ .Values.transcoder.audio_bitrate3 }}',
'formats' => '{{ .Values.transcoder.formats3 | toJson }}',
'charge' => '{{ .Values.transcoder.charge3 }}',
],
]
]);
$CONFIG->cinemr_url = '{{ .Values.transcoder.cinemr_url }}';
php-fpm.conf
:
|-
[www]
...
...
@@ -783,3 +849,4 @@ data:
redirect_stderr=true
stdout_logfile=/dev/stdout
stdout_logfile_maxbytes=0
{{
.Files.Get "config.properties" | indent 4
}}
This diff is collapsed.
Click to expand it.
minds/values.yaml
View file @
9f0b96a8
...
...
@@ -204,7 +204,57 @@ encryptionKeys:
public
:
aws
:
snsSecret
:
snsSecret
:
0
key
:
secret
:
useRoles
:
false
bucket
:
'
cinemr'
staticStorage
:
'
cinemr_dev'
region
:
'
us-east-1'
account_id
:
'
324044571751'
pipeline_id
:
'
1401290942976-efm3xj'
mp4_360
:
'
1351620000001-000040'
mp4_720
:
'
1351620000001-000040'
webm_360
:
'
1404848610623-0blc5v'
webm_720
:
'
1404852762051-zzvwfq'
dir
:
'
cinemr_dev'
namespace
:
'
EmiDev'
wait_seconds
:
3
transcode
:
free_threshold
:
'
2'
hd_price
:
'
1'
fhd_price
:
'
1.5'
transcoder
:
threads
:
4
dir
:
'
cinemr_dev'
width
:
640
height
:
360
bitrate
:
500
audio_bitrate
:
80
formats
:
-
'
mp4'
-
'
webm'
charge
:
false
width2
:
640
height2
:
360
bitrate2
:
500
audio_bitrate2
:
80
formats2
:
-
'
mp4'
-
'
webm'
charge2
:
false
width3
:
640
height3
:
360
bitrate3
:
500
audio_bitrate3
:
80
formats3
:
-
'
mp4'
-
'
webm'
charge3
:
false
cinemr_url
:
'
https://cinemr.s3.amazonaws.com/cinemr_dev/'
blockchain
:
testNet
:
'
true'
...
...
This diff is collapsed.
Click to expand it.
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment