@@ -25,18 +25,29 @@ The ``tt`` configuration file is a YAML file with the following content:
25
25
instances_available : path/to/available/applications
26
26
run_dir : path/to/run_dir
27
27
log_dir : path/to/log_dir
28
+ bin_dir : path/to/bin_dir
29
+ inc_dir : path/to/inc_dir
30
+ wal_dir : path/to/wal_dir
31
+ vinyl_dir : path/to/vinyl_dir
32
+ memtx_dir : path/to/memtx_dir
28
33
log_maxsize : num (MB)
29
34
log_maxage : num (days)
30
35
log_maxbackups : num
31
36
restart_on_failure : bool
37
+ repo :
38
+ rocks : path/to/rocks
39
+ distfiles : path/to/install
40
+ ee :
41
+ credential_path : path/to/file
32
42
templates :
33
43
- path : path/to/app/templates1
34
44
- path : path/to/app/templates2
35
45
36
46
modules section
37
47
~~~~~~~~~~~~~~~
38
48
39
- * ``directory `` -- the directory where :doc: `external modules <external_modules >` are stored.
49
+ * ``directory `` -- the directory where :doc: `external modules <external_modules >`
50
+ are stored.
40
51
41
52
.. _tt-config_file_app :
42
53
@@ -46,8 +57,18 @@ app section
46
57
* ``instances_available `` -- the directory where :ref: `instances <admin-instance_file >`
47
58
are stored.
48
59
* ``run_dir ``-- the directory for instance runtime artifacts, such as console
49
- sockets or PID files.
50
- * ``log_dir `` -- the directory where log files are stored.
60
+ sockets or PID files. Default: ``var/run ``.
61
+ * ``log_dir `` -- the directory where log files are stored. Default: ``var/log ``.
62
+ * ``bin_dir `` -- the directory where binary files are stored. Default: ``bin ``.
63
+ * ``inc_dir `` -- the base directory for storing header files. They will
64
+ be placed in the ``include `` subdirectory inside the specified directory.
65
+ Default: ``include ``.
66
+ * ``wal_dir `` -- the directory where write-ahead log (``.xlog ``) files are stored.
67
+ Default: ``var/lib ``.
68
+ * ``memtx_dir `` -- the directory where memtx stores snapshot (``.snap ``) files.
69
+ Default: ``var/lib ``.
70
+ * ``vinyl_dir `` -- the directory where vinyl files or subdirectories are stored.
71
+ Default: ``var/lib ``.
51
72
* ``log_maxsize `` -- the maximum size of the log file before it gets rotated,
52
73
in megabytes. Default: 100.
53
74
* ``log_maxage `` -- the maximum age of log files in days. The age of a log
@@ -64,6 +85,18 @@ app section
64
85
* ``restart_on_failure `` -- restart the instance on failure: ``true `` or ``false ``.
65
86
Default: ``false ``.
66
87
88
+ repo section
89
+ ~~~~~~~~~~~~
90
+
91
+ * ``rocks `` -- the directory where rocks files are stored.
92
+ * ``distfiles `` -- the directory where installation files are stored.
93
+
94
+ ee section
95
+ ~~~~~~~~~~
96
+
97
+ * ``credential_path `` -- a path to the file file with credentials used for
98
+ downloading Tarantool Enterprise.
99
+
67
100
templates section
68
101
~~~~~~~~~~~~~~~~~
69
102
0 commit comments