You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
;; These values are environment-dependent but form the basis of a lot of values. They will be
15
+
;; reported as part of the default configuration when running `gitea --help` or on start-up. The order they are emitted there is slightly different but we will list them here in the order they are set-up.
16
+
;;
17
+
;; - _`AppPath`_: This is the absolute path of the running gitea binary.
18
+
;; - _`AppWorkPath`_: This refers to "working path" of the `gitea` binary. It is determined by using the first set thing in the following hierarchy:
19
+
;; - The `--work-path` flag passed to the binary
20
+
;; - The environment variable `$GITEA_WORK_DIR`
21
+
;; - A built-in value set at build time (see building from source)
22
+
;; - Otherwise it defaults to the directory of the _`AppPath`_
23
+
;; - If any of the above are relative paths then they are made absolute against the
24
+
;; the directory of the _`AppPath`_
25
+
;; - _`CustomPath`_: This is the base directory for custom templates and other options.
26
+
;; It is determined by using the first set thing in the following hierarchy:
27
+
;; - The `--custom-path` flag passed to the binary
28
+
;; - The environment variable `$GITEA_CUSTOM`
29
+
;; - A built-in value set at build time (see building from source)
30
+
;; - Otherwise it defaults to _`AppWorkPath`_`/custom`
31
+
;; - If any of the above are relative paths then they are made absolute against the
32
+
;; the directory of the _`AppWorkPath`_
33
+
;; - _`CustomConf`_: This is the path to the `app.ini` file.
34
+
;; - The `--config` flag passed to the binary
35
+
;; - A built-in value set at build time (see building from source)
36
+
;; - Otherwise it defaults to _`CustomPath`_`/conf/app.ini`
37
+
;; - If any of the above are relative paths then they are made absolute against the
38
+
;; the directory of the _`CustomPath`_
39
+
;;
40
+
;; In addition there is _`StaticRootPath`_ which can be set as a built-in at build time, but will otherwise default to _`AppWorkPath`_
;; When ISSUE_INDEXER_QUEUE_TYPE is levelqueue, this will be the path where the queue will be saved.
1315
1349
;; This can be overridden by `ISSUE_INDEXER_QUEUE_CONN_STR`.
1316
1350
;; default is queues/common
1317
-
;ISSUE_INDEXER_QUEUE_DIR = queues/common; **DEPRECATED** use settings in `[queue.issue_indexer]`.
1351
+
;ISSUE_INDEXER_QUEUE_DIR = queues/common; **DEPRECATED** use settings in `[queue.issue_indexer]`. Relative paths will be made absolute against `%(APP_DATA_PATH)s`.
1318
1352
;;
1319
1353
;; When `ISSUE_INDEXER_QUEUE_TYPE` is `redis`, this will store the redis connection string.
1320
1354
;; When `ISSUE_INDEXER_QUEUE_TYPE` is `levelqueue`, this is a directory or additional options of
@@ -1370,7 +1404,7 @@ ROUTER = console
1370
1404
;TYPE = persistable-channel
1371
1405
;;
1372
1406
;; data-dir for storing persistable queues and level queues, individual queues will default to `queues/common` meaning the queue is shared.
1373
-
;DATADIR = queues/
1407
+
;DATADIR = queues/ ; Relative paths will be made absolute against `%(APP_DATA_PATH)s`.
1374
1408
;;
1375
1409
;; Default queue length before a channel queue will block
0 commit comments