UNPKG

tooltwist

Version:
99 lines (84 loc) 2.95 kB
exports.config = { /* * Mode should be one of the following: * designer - Run the ToolTwist designer in standalone mode. * * deploy - Generate, validate, and install the project to a * remote location. * * controller - Similar to deploy mode, but is compatible * with the v8.2 Controller (i.e. it uses config * files beneath /ContollerV8). */ "mode" : "{{&MODE}}", "version" : "8.5.0-SNAPSHOT", "designer" : { /* * The port where embedded Tomcat will run. * By default port 5000 will be used. */ //"port": 8888, /* * This section defines the web design project we are working with. Access to * the Git repo should be available without login credentials (ie. via SSH). * * Not required for controller mode. */ "name" : "ttdemo", "repo" : "https://github.com/tooltwist/ttdemo.git", "branch" : "master", /* * This section defines the repository used to find JAR files and other * dependencies required by your webdesign project. The dependencies * themselves are defined in project.json in the webdesign project. */ "resolve_contextUrl" : "http://repo.tooltwist.com/artifactory/", "resolve_repo" : "tooltwist-all-in-one", "repository_user": "", // anonymous access. "repository_password": "" // "repository_user": "fred.smith", // credentials from Artifactory. // "repository_password": "{DESede}xyxyxyxyxyxyxyxyxyxyxy==" // Example using ARTIFACTORY_USER and ARTIFACTORY_PASSWORD properties, // which can be defined system-wide in ~/.gradle/gradle.properties. /* "resolve_contextUrl" : "property.RESOLVE_CONTEXTURL", "resolve_repo" : "property.RESOLVE_REPO", "repository_user": "property.ARTIFACTORY_USER", "repository_password": "property.ARTIFACTORY_PASSWORD" */ }, "deploy" : { servers: [ { // Image and container names are based on this id. // Only [a-z0-9-_.] are allowed. id: 'my-project', description: "Docker container", sshPort: 9022, fipPort: 9093, httpPort: 9080, host: '192.168.59.103', disable: false, isProductionServer: true, serverHome: '/home/tooltwist/server', webappName: "ttsvr", installMethod: "fip", imagemagickHome: "/usr/local", /* // Hopefully obsolete installCmd: "", installTomcat: false, username: "", password: "", webappsDir: "/home/trackmotion/server/tomcat/webapps", tomcatHome: "/home/trackmotion/server/tomcat", httpPort: 9280, httpsPort: 9281, serverPort: 9282, ajpPort: 9283, webcontentInJars: false */ } ] } };