Commit 1559eec0 authored by Emiliano Balbuena's avatar Emiliano Balbuena

(feat): Pro domain settings

1 merge request!17(feat): Pro domain settings
......@@ -620,6 +620,13 @@ data:
'media-modal' => true,
]);
$CONFIG->set('pro', [
'handler' => null,
'root_domains' => ['{{ .Values.domain }}', 'minds.io'],
'subdomain_suffix' => '{{ .Values.domain }}',
'dynamodb_table_name' => 'traefik',
]);
$CONFIG->set('transcode', [
'free_threshold' => '{{ .Values.transcode.free_threshold }}',
'hd_price' => '{{ .Values.transcode.hd_price }}',
......
......@@ -24,4 +24,14 @@ spec:
backend:
serviceName: {{ template "minds.fullname" . }}-sockets
servicePort: ws
- host: "pro-domain--{{ .Values.domain }}"
http:
paths:
- backend:
serviceName: {{ template "minds.fullname" . }}-app
servicePort: http
- path: /socket.io
backend:
serviceName: {{ template "minds.fullname" . }}-sockets
servicePort: ws
{{- end }}
......@@ -299,3 +299,5 @@ max_video_file_size: '4294967296'
max_video_length: 12600
max_video_length_plus: 126000
max_daily_boost_views: 10000
jwtsecret: 'changeme'
\ No newline at end of file
Please register or to comment