@@ -21,6 +21,9 @@ The secret key used to sign and verify JWTs. Generated on project scaffold with
21
21
| --------------- | ---------------------- | --------------------- |
22
22
| A valid string | N/A | N/A |
23
23
24
+ See also the [ ` check_auth ` configuration
25
+ option] ( /reference/configuration/config#check_auth ) .
26
+
24
27
## ` CUBEJS_APP `
25
28
26
29
An application ID used to uniquely identify the Cube deployment. Can be
@@ -96,6 +99,9 @@ The cache and queue driver to use for the Cube deployment.
96
99
| --------------------- | ---------------------- | --------------------- |
97
100
| ` cubestore ` , ` memory ` | ` memory ` | ` cubestore ` |
98
101
102
+ It can be also set using the [ ` cache_and_queue_driver ` configuration
103
+ option] ( /reference/configuration/config#cache_and_queue_driver ) .
104
+
99
105
## ` CUBEJS_CONCURRENCY `
100
106
101
107
The number of concurrent connections each query queue has to the database.
@@ -104,6 +110,9 @@ The number of concurrent connections each query queue has to the database.
104
110
| --------------- | ------------------------------------------- | ------------------------------------------- |
105
111
| A valid number | [ See database-specific page] [ ref-config-db ] | [ See database-specific page] [ ref-config-db ] |
106
112
113
+ It can be also set as ` concurrency ` in the [ ` orchestrator_options ` configuration
114
+ option] ( /reference/configuration/config#orchestrator_options ) .
115
+
107
116
## ` CUBEJS_CUBESTORE_HOST `
108
117
109
118
The hostname of the Cube Store deployment
@@ -726,6 +735,9 @@ endpoints.
726
735
| ------------------------------------------------------------------------------ | ---------------------- | --------------------- |
727
736
| A comma-delimited string with any combination of [ API scopes] [ ref-rest-scopes ] | ` meta,data,graphql ` | ` meta,data,graphql ` |
728
737
738
+ See also the [ ` context_to_api_scopes ` configuration
739
+ option] ( /reference/configuration/config#context_to_api_scopes ) .
740
+
729
741
## ` CUBEJS_DEV_MODE `
730
742
731
743
If ` true ` , enables [ development mode] ( /product/configuration#development-mode ) .
@@ -790,6 +802,9 @@ Enables [JSON Web Key (JWK)][ietf-jwk-ref]-based authentication in Cube.
790
802
| --------------------------------- | ---------------------- | --------------------- |
791
803
| A valid URL to a JSON Web Key Set | N/A | N/A |
792
804
805
+ It can be also set as ` jwkUrl ` in the [ ` jwt ` configuration
806
+ option] ( /reference/configuration/config#jwt ) .
807
+
793
808
## ` CUBEJS_JWT_ALGS `
794
809
795
810
[ Any supported algorithm for decoding JWTs] [ gh-jsonwebtoken-algs ] .
@@ -798,6 +813,9 @@ Enables [JSON Web Key (JWK)][ietf-jwk-ref]-based authentication in Cube.
798
813
| ---------------- | ---------------------- | --------------------- |
799
814
| ` HS256 ` , ` RS256 ` | N/A | N/A |
800
815
816
+ It can be also set as ` algorithms ` in the [ ` jwt ` configuration
817
+ option] ( /reference/configuration/config#jwt ) .
818
+
801
819
## ` CUBEJS_JWT_AUDIENCE `
802
820
803
821
An audience value which will be used to enforce the [ ` aud ` claim from inbound
@@ -807,6 +825,9 @@ JWTs][ietf-jwt-ref-aud].
807
825
| ------------------- | ---------------------- | --------------------- |
808
826
| A valid ` aud ` claim | N/A | N/A |
809
827
828
+ It can be also set as ` audience ` in the [ ` jwt ` configuration
829
+ option] ( /reference/configuration/config#jwt ) .
830
+
810
831
## ` CUBEJS_JWT_CLAIMS_NAMESPACE `
811
832
812
833
A namespace within the decoded JWT under which any custom claims can be found.
@@ -815,6 +836,9 @@ A namespace within the decoded JWT under which any custom claims can be found.
815
836
| --------------- | ---------------------- | --------------------- |
816
837
| A valid string | N/A | N/A |
817
838
839
+ It can be also set as ` claimsNamespace ` in the [ ` jwt ` configuration
840
+ option] ( /reference/configuration/config#jwt ) .
841
+
818
842
## ` CUBEJS_JWT_ISSUER `
819
843
820
844
An issuer value which will be used to enforce the [ ` iss ` claim from inbound
@@ -824,6 +848,9 @@ JWTs][ietf-jwt-ref-iss].
824
848
| ------------------- | ---------------------- | --------------------- |
825
849
| A valid ` iss ` claim | N/A | N/A |
826
850
851
+ It can be also set as ` issuer ` in the [ ` jwt ` configuration
852
+ option] ( /reference/configuration/config#jwt ) .
853
+
827
854
## ` CUBEJS_JWT_KEY `
828
855
829
856
The secret key used to sign and verify JWTs. Similar to
@@ -833,6 +860,9 @@ The secret key used to sign and verify JWTs. Similar to
833
860
| --------------- | ---------------------- | --------------------- |
834
861
| A valid string | N/A | N/A |
835
862
863
+ It can be also set as ` key ` in the [ ` jwt ` configuration
864
+ option] ( /reference/configuration/config#jwt ) .
865
+
836
866
## ` CUBEJS_JWT_SUBJECT `
837
867
838
868
A subject value which will be used to enforce the [ ` sub ` claim from inbound
@@ -842,6 +872,9 @@ JWTs][ietf-jwt-ref-sub].
842
872
| ------------------- | ---------------------- | --------------------- |
843
873
| A valid ` sub ` claim | N/A | N/A |
844
874
875
+ It can be also set as ` subject ` in the [ ` jwt ` configuration
876
+ option] ( /reference/configuration/config#jwt ) .
877
+
845
878
## ` CUBEJS_LOG_LEVEL `
846
879
847
880
The logging level for Cube.
@@ -850,6 +883,9 @@ The logging level for Cube.
850
883
| -------------------------------- | ---------------------- | --------------------- |
851
884
| ` error ` , ` info ` , ` trace ` , ` warn ` | ` warn ` | ` warn ` |
852
885
886
+ See also ` CUBESTORE_LOG_LEVEL ` .
887
+ See also the [ ` logger ` configuration option] ( /reference/configuration/config#logger ) .
888
+
853
889
## ` CUBEJS_MAX_PARTITIONS_PER_CUBE `
854
890
855
891
The maximum number of partitions each pre-aggregation in a cube can use.
@@ -891,6 +927,9 @@ to use for storing pre-aggregations.
891
927
| --------------- | ---------------------- | ----------------------- |
892
928
| A valid string | ` dev_pre_aggregations ` | ` prod_pre_aggregations ` |
893
929
930
+ It can be also set using the [ ` pre_aggregations_schema ` configuration
931
+ option] ( /reference/configuration/config#pre_aggregations_schema ) .
932
+
894
933
## ` CUBEJS_REFRESH_WORKER `
895
934
896
935
If ` true ` , this instance of Cube will ** only** refresh pre-aggregations.
@@ -909,6 +948,9 @@ mode](/product/caching/using-pre-aggregations#rollup-only-mode) for details.
909
948
| --------------- | ---------------------- | --------------------- |
910
949
| ` true ` , ` false ` | ` false ` | ` false ` |
911
950
951
+ It can be also set using the [ ` orchestrator_options.rollupOnlyMode ` configuration
952
+ option] ( /reference/configuration/config#orchestrator_options ) .
953
+
912
954
## ` CUBEJS_SCHEDULED_REFRESH_CONCURRENCY `
913
955
914
956
How many pre-aggregations refresh worker will build in parallel. Please note
@@ -928,6 +970,9 @@ for][ref-config-sched-refresh-timer].
928
970
| --------------------------------------------------------- | ---------------------- | --------------------- |
929
971
| [ A valid timezone from the tz database] [ wiki-tz-database ] | N/A | N/A |
930
972
973
+ It can be also set using the [ ` scheduled_refresh_time_zones ` configuration
974
+ option] ( /reference/configuration/config#scheduled_refresh_time_zones ) .
975
+
931
976
## ` CUBEJS_SCHEMA_PATH `
932
977
933
978
The path where Cube loads data models from.
@@ -936,38 +981,49 @@ The path where Cube loads data models from.
936
981
| ---------------------------------------- | ---------------------- | --------------------- |
937
982
| A valid path containing Cube data models | ` model ` | ` model ` |
938
983
939
- <WarningBox >
984
+ <InfoBox >
940
985
941
986
Until v0.35, the default value was ` schema ` .
942
987
943
- </WarningBox >
988
+ </InfoBox >
944
989
945
- { /* TODO: https://cubedevinc.atlassian.net/browse/CC-3095 */ }
990
+ It can be also set using the [ ` schema_path ` configuration
991
+ option] ( /reference/configuration/config#schema_path ) .
946
992
947
- ## ` CUBEJS_SQL_PASSWORD `
993
+ ## ` CUBEJS_SQL_USER `
948
994
949
- A password required to access the [ SQL API] [ ref-sql-api ] .
995
+ A username required to access the [ SQL API] [ ref-sql-api ] .
950
996
951
997
| Possible Values | Default in Development | Default in Production |
952
998
| --------------- | ---------------------- | --------------------- |
953
999
| A valid string | N/A | N/A |
954
1000
955
- ## ` CUBEJS_SQL_SUPER_USER `
1001
+ See also the [ ` check_sql_auth ` configuration
1002
+ option] ( /reference/configuration/config#check_sql_auth ) .
1003
+
1004
+ ## ` CUBEJS_SQL_PASSWORD `
956
1005
957
- A name of specific user who will be allowed to change security context .
1006
+ A password required to access the [ SQL API ] [ ref-sql-api ] .
958
1007
959
1008
| Possible Values | Default in Development | Default in Production |
960
1009
| --------------- | ---------------------- | --------------------- |
961
1010
| A valid string | N/A | N/A |
962
1011
963
- ## ` CUBEJS_SQL_USER `
1012
+ See also the [ ` check_sql_auth ` configuration
1013
+ option] ( /reference/configuration/config#check_sql_auth ) .
964
1014
965
- A username required to access the [ SQL API] [ ref-sql-api ] .
1015
+ ## ` CUBEJS_SQL_SUPER_USER `
1016
+
1017
+ A name of specific user who will be allowed to change the user during the SQL API
1018
+ session.
966
1019
967
1020
| Possible Values | Default in Development | Default in Production |
968
1021
| --------------- | ---------------------- | --------------------- |
969
1022
| A valid string | N/A | N/A |
970
1023
1024
+ See also the [ ` can_switch_sql_user ` configuration
1025
+ option] ( /reference/configuration/config#can_switch_sql_user ) .
1026
+
971
1027
## ` CUBEJS_ALLOW_UNGROUPED_WITHOUT_PRIMARY_KEY `
972
1028
973
1029
If ` true ` , disables the primary key inclusion check for
@@ -1228,6 +1284,8 @@ The logging level for Cube Store.
1228
1284
| ----------------------------------------- | ---------------------- | --------------------- |
1229
1285
| ` error ` , ` warn ` , ` info ` , ` debug ` , ` trace ` | ` error ` | ` error ` |
1230
1286
1287
+ See also ` CUBEJS_LOG_LEVEL ` .
1288
+
1231
1289
## ` CUBESTORE_META_ADDR `
1232
1290
1233
1291
The address/port pair for the Cube Store ** router** node in the cluster.
0 commit comments