Application configuration

The Configuration Manager gives you access to the home directory and your environment's configuration files. Use the Configuration Manager to specify any additional settings that your application needs.

To run the Configuration Manager, click on your environment's Config button for the needed node (app server, database, nginx, memcached or maven):




The list of configuration folders will be opened. Here you can make all your settings.




  1. Application Server Configuration
  2. Database Configuration
  3. Cron Configuration
  4. NGINX Balancer Configuration
  5. Maven Configuration
  6. Memcached Configuration
 
A. Application Server Configuration

The following app server configuration files are available:

Software stackSupported configuration files
Tomcat 6server.xml, catalina.properties, tomcat-users.xml, context.xml, web.xml
Tomcat 7server.xml, catalina.properties, tomcat-users.xml, context.xml, web.xml
TomEEserver.xml, catalina.properties, tomcat-users.xml, context.xml, web.xml, tomee.xml, system.properties
GlassFish3domain.xml
Jetty 6jetty.xml

  1. If you have several application servers you can configure them separately. To do this use the drop-down menu at the top of the configuration tab. It includes the list of all your servers.



  2. Choose the one you need and make the configurations.
  3. To apply the changes:
    • only for the chosen server click Save only for current instance button from drop-down menu;
    • for all the servers click Save.



 
B. Database Configuration

The following database configuration files are available:

Software stackSupported configuration files
mySQLmy.cnf
mariaDBmy.cnf
mongoDBmongo.conf
postgreSQLpostgresql.conf
couchDBdefault.ini, local.ini



  1. Among all available configurations you can also set scheduled backups of your database using the instructions in the Scheduling Database Backups document.

  2. MongoDB configuration files include keys directory to which you can upload any private key which is needed for your application.

Generate the key, save it as a simple file and upload to the key folder.
Now you can use it for different cases just stating the path to your key:

/var/lib/jelastic/keys/{key_file_name}



 
C. Cron Configuration

App servers and databases include cron folder that enables cronjobs to be configured.




Detailed information on Cronjob configuration can be found in Setting Up a Cronjob document.
 
D. NGINX Balancer Configuration

The following NGINX configuration files are available:

Software stackSupported configuration files
NGINXnginx.conf, mappings.xmlf

You also have access to your NGINX balancer (which automatically added if you choose several app servers) configuration files.

Here you can not just edit the existing files but also upload your own config files with custom settings to conf.d folder.




More information about NGINX usage you can find in the HTTP Load Balancing and TCP Load Balancing documents.
To set caching in NGINX follow the link and use the instruction.
 
F. Maven Configuration

The following Maven configuration files are available:

Software stackSupported configuration files
mavensettings.xml



Detailed information on Maven configuration can be found in Maven Plugin for Jelastic Cloud Platform document.
 
E. Memcached Configuration

The following Memcached configuration files are available:

Software stackSupported configuration files
memcachedmemcached



More information about Memcached usage you can find in the Memcached document.
 
What's next?
 
 

Account registration failed

We suspect that this is due to network issues - so please try again in a minute. If your second attempt fails please email us at info@jelastic.com and we will get you in.

Vote for features