<commit_before># Alfresco & Docker 

## Description 
This Dockerfile will set up Alfresco inside of an Ubuntu Precise (12.04) 
container running Tomcat 7.  

### Instructions 
There are a number of files in the `resources`
directory which should be configured prior to running `docker build`. These 
files are as follows:

- **resources/tomcat/share-config-custom.xml**
- **resources/tomcat/server.xml**
- **resources/tomcat/alfresco-global.properties**
- **resources/tomcat/tomcat-users.xml**
- **resources/tomcat/catalina.properties**


### File Descriptions 

#### resources/tomcat/share-config-custom.xml
This file defines the configuration of the **share** web application.  This 
webapp requires the following options configured:

- `@@ALFRESCO_REPO_SERVER@@`
- `@@ALFRESCO_SHARE_SERVER@@`

#### resources/tomcat/server.xml
This file defines the port numbers which Tomcat will listen on and the 
corresponding SSL certificates if using HTTPS. *8080* for HTTP traffic and 
*8443* for HTTPS traffic.

#### resources/tomcat/alfresco-global.properties
This file defines the configuration of the main **alfresco** web application.
This webapp requires the following options configured:

- `@@ALFRESCO_REPO_SERVER@@`
- `@@ALFRESCO_SHARE_SERVER@@`
- `@@ALFRESCO_SHARE_SERVER_PORT@@`
- `@@ALFRESCO_SHARE_SERVER_PROTOCOL@@`

#### resources/tomcat/tomcat-users.xml
This file defines the configuration of the *solr* and *repository* users
used to access the corresponding resources.
 
#### resources/tomcat/catalina.properties
This file defines the standard Java properties for the Catalina java class
expressed in [Security Policy syntax](http://tomcat.apache.org/tomcat-7.0-doc/security-manager-howto.html).  

<commit_msg>Adding additional information about catalina.properties<commit_after># Alfresco & Docker 

## Description 
This Dockerfile will set up Alfresco inside of an Ubuntu Precise (12.04) 
container running Tomcat 7.  

### Instructions 
There are a number of files in the `resources`
directory which should be configured prior to running `docker build`. These 
files are as follows:

- **resources/tomcat/share-config-custom.xml**
- **resources/tomcat/server.xml**
- **resources/tomcat/alfresco-global.properties**
- **resources/tomcat/tomcat-users.xml**
- **resources/tomcat/catalina.properties**


### File Descriptions 

#### resources/tomcat/share-config-custom.xml
This file defines the configuration of the **share** web application.  This 
webapp requires the following options configured:

- `@@ALFRESCO_REPO_SERVER@@`
- `@@ALFRESCO_SHARE_SERVER@@`

#### resources/tomcat/server.xml
This file defines the port numbers which Tomcat will listen on and the 
corresponding SSL certificates if using HTTPS. *8080* for HTTP traffic and 
*8443* for HTTPS traffic.

#### resources/tomcat/alfresco-global.properties
This file defines the configuration of the main **alfresco** web application.
This webapp requires the following options configured:

- `@@ALFRESCO_REPO_SERVER@@`
- `@@ALFRESCO_SHARE_SERVER@@`
- `@@ALFRESCO_SHARE_SERVER_PORT@@`
- `@@ALFRESCO_SHARE_SERVER_PROTOCOL@@`

#### resources/tomcat/tomcat-users.xml
This file defines the configuration of the *solr* and *repository* users
used to access the corresponding resources.
 
#### resources/tomcat/catalina.properties
This file defines the standard Java properties for the Catalina java class
expressed in [Security Policy syntax](http://tomcat.apache.org/tomcat-7.0-doc/security-manager-howto.html).  
In addition, this file also defines some string cache settings which can be
used to optimize aspects of Tomcat's performance.

{'fraction_non_alphanumeric': 0.10590518436373718, 'fraction_numerical': 0.008317161075686166, 'mean_word_length': 5.1993127147766325, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 12}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '3030504', 'n_tokens_mistral': 1092, 'n_tokens_neox': 1042, 'n_words': 344}