TeamForge is controlled by settings in a master configuration file called site-options.conf. Some of the most useful configuration settings you can specify in the site-options.conf file are described here.
When TeamForge starts, it reads and implements the instructions provided as values to the variables in this file.
The basic procedure for configuring your TeamForge site, then, is to edit the site-options.conf file, supply a valid value for the token of interest, save the file, and rebuild the TeamForge runtime environment.
TeamForge 17.1 includes major changes to site-options.conf configuration. The syntax for writing the HOST and DOMAIN tokens and the names of certain services have been changed in TeamForge 17.1. This section walks you through the list of changes and what it takes to build your TeamForge 17.1 site's master configuration file.
List of services and their identifiers
Service | Also requires (either on the same or separate server) | Mandatory/Optional | Old name | Description |
---|---|---|---|---|
ctfcore | Mandatory | app | Main TeamForge application server | |
search | Mandatory | indexer | Indexing and searching | |
Mandatory | NA (added in TeamForge 17.1) | Email server | ||
ctfcore-database | Mandatory | database | Operational database | |
codesearch | Mandatory | codesearch | Code search | |
etl | Optional | etl | ETL for datamart | |
ctfcore-datamart | Mandatory if you have etl installed | datamart | Datamart database | |
subversion | Optional | subversion | SVN version control | |
cvs | Optional | cvs | CVS version control | |
gerrit | Optional | gerrit | Git/Gerrit version control | |
gerrit-database | Mandatory if you have Git/Gerrit installed | NA (added in TeamForge 17.1) | Database for Git/Gerrit. In a distributed setup, add this identifier on the server where you want to run Gerrit database. | |
binary | Optional | binary | Artifact repository integration | |
binary-database | Mandatory if you have binary installed | NA (added in TeamForge 17.1) | Database for artifact repository integration. Binary app (binary) and database (binary-database) have to be installed on the same server. | |
reviewboard | Optional | reviewboard | Review Board code review tool | |
reviewboard-database | Mandatory if you have Review Board installed | NA (added in TeamForge 17.1) | Database for Review Board. In a distributed setup, add this identifier on the server where you want to run Review Board database. |
Syntax to define the services running on a TeamForge host
Where <hostname> can be "localhost" or the server name as returned by the hostname command on the console. The latter is recommended as this allows reuse of the same site-options.conf file across all servers in a distributed setup. Here are some examples:
Syntax to define the domain names for a TeamForge site
Assign a public FQDN (optional, but strongly recommended). Make sure there is a DNS A or CNAME record for this FQDN.
server01:PUBLIC_FQDN = teamforge.example.com server02:PUBLIC_FQDN = scm.example.com