How Do You Configure 3forge?¶
Overview¶
By default, 3forge ships with a defaults.properties file located in the amione/config folder of the root directory of your installation. This contains the base configuration required for a default 3forge installation.
This is helpful for initial setup, but for any additional functionality including additional plugins, you will need to configure your own properties by creating a local.properties file.
Warning
We do not recommend changing the defaults.properties file as it gets overwritten on update.
Please configure your 3forge instance in a local.properties file.
Properties List¶
There are 5 categories of 3forge properties responsible for customizing different aspects of a 3forge instance:
-
- Properties that are common across all AMI components
-
- Properties specific to the Center
-
- Properties specific to the Web
-
- Properties specific to the Relay
-
- Properties for configuring deployments with multiple Web servers
See each page for a comprehensive list of properties for each category.
Note
You may not need to configure every property listed in the pages above. We have specific guides for configuring 3forge for additional functionality hosted throughout our documentation.
If you want more information or help with properties, please contact us at support@3forge.com
Setup¶
In the root directory of your installation, navigate to the amione/config directory and create a new, empty local.properties file.
You can then populate the file line-by-line with your desired properties where each property follows the format: property.name=value.
Note
For instructions on how to encrypt properties, see the encryption section.
Example¶
Below is a sample local.properties file:
Multiple .properties Files¶
While we recommend just using local.properties for your 3forge environments, you can specify multiple .properties files.
If you have multiple configuration files and environments, e.g: my_env.properties, you can configure a 3forge instance by doing the following:
- Ensure
my_env.propertiesis in theamione/configdirectory of the 3forge instance's installation - Create a
local.propertiesfile if it does not exist -
Add the following line to your
local.propertiesfile: