@@ -29,22 +29,22 @@ The GIT-HttpServer only support basic authentication on repositories by protocol
2929## Configuration
3030
3131### Environment Variables
32- | Name | Description | Default | Mandatory |
33- | ---------------------------| ----------------------------------------------------------| ---------------------------------------------------| -----------|
34- | PATH_CLONE | Set clone path | _ clone | Yes |
35- | PATH_PULL | Set pull path | _ pull | Yes |
36- | PATH_VERSION | Set get git commit version path | _ version | Yes |
37- | PATH_WEBHOOK | Set webhook path | _ hook | Yes |
38- | PATH_HEALTH | Set health check path | _ health | Yes |
39- | REPO_BRANCH | Set default branch to clone content | main | No |
40- | REPO_TARGET_FOLDER | Set folder to clone source | target-git | No |
41- | REPO_URL | Set url as a source origin | https://github.com/jarpsimoes/git-http-server.git | No |
42- | REPO_USERNAME | Set username or token identifier to basic authentication | N/D | No |
43- | REPO_PASSWORD | Set password or token to basic authentication | N/D | No |
44- | HTTP_PORT | Set port to expose content | 8081 | Yes |
45- | GHS_CUSTOM_PATH_ <path > | Custom path to work as a proxy server | N/D | No |
46- | GHS_CUSTOM_REWRITE_ <path > | Set to remove from proxy request base path | N/D | No |
47- | FOLDER_ROOT | Select root folder inside cloned repository | $REPO_TARGET_FOLDER/ | No |
32+ | Name | Description | Default | Mandatory |
33+ | ---------------------------| ------------------------------------------------------------------------ | ---------------------------------------------------| -----------|
34+ | PATH_CLONE | Set clone path | _ clone | Yes |
35+ | PATH_PULL | Set pull path | _ pull | Yes |
36+ | PATH_VERSION | Set get git commit version path | _ version | Yes |
37+ | PATH_WEBHOOK | Set webhook path | _ hook | Yes |
38+ | PATH_HEALTH | Set health check path | _ health | Yes |
39+ | REPO_BRANCH | Set default branch to clone content | main | No |
40+ | REPO_TARGET_FOLDER | Set folder to clone source (only allowed letters, numbers, underscore) | target-git | No |
41+ | REPO_URL | Set url as a source origin | https://github.com/jarpsimoes/git-http-server.git | No |
42+ | REPO_USERNAME | Set username or token identifier to basic authentication | N/D | No |
43+ | REPO_PASSWORD | Set password or token to basic authentication | N/D | No |
44+ | HTTP_PORT | Set port to expose content | 8081 | Yes |
45+ | GHS_CUSTOM_PATH_ <path > | Custom path to work as a proxy server | N/D | No |
46+ | GHS_CUSTOM_REWRITE_ <path > | Set to remove from proxy request base path | N/D | No |
47+ | FOLDER_ROOT ** (Removed) ** | The base path will be always root folder of the application | REMOVED | N/D |
4848
4949
5050## Implementation
0 commit comments