-
Notifications
You must be signed in to change notification settings - Fork 3
/
stash.yaml
63 lines (56 loc) · 2.4 KB
/
stash.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
#-----------------------------------------------------------------------------
# Copyright (c) 2012 Bryce Johnson
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
#-----------------------------------------------------------------------------
#
# 1.) Place this file in your hieradata directory
# 2.) Modify the database settings below according to your setup
#
# Atlassian Stash Git Enterprise Source Control Server
stash_name: stash
stash_version: 1.2.2
stash_package_format: zip
# Directory where the webapp will run from
stash_install_dir: /opt/stash
# If you can put this on another filesystem, and even better, a fs that's
# on another physical disk, you will be happier, but not required
stash_home_dir: /opt/stash-home
# Database configuration - please change these according to your setup
# Comment out or uncomment for your db product as this value is also
# overloaded as the jdbc driver db
stash_db: postgresql
#stash_db: mysql
#stash_db: oracle
stash_dbdriver: org.postgresql.Driver
# Change these values to your stash database credentials
stash_dbuser: stashadm
stash_dbpassword: stashadm
# Change port depending on your db product
stash_dbport: 5432
#stash_dbport: 3306
#stash_dbport: 1521
# Change if your database isn't on localhost. This module will only check
# to make sure that the service is running and start it if it is not on
# localhost db's only. So if your remote database, which is suggested, isn't
# available, that's your fault.
stash_dbserver: localhost
# Tomcat configuration
# TODO because I'm never a fan of the stock tomcat settings
stash_javahome: /opt/java/jdk1.6.0_33
stash_jvm_xmx: 1024m
stash_jvm_optional: -XX:-HeapDumpOnOutOfMemoryError
#stash_jvm_optional: -XX:NewSize=256m -XX:MaxNewSize=256m -XX:SurvivorRatio=16
# the New and SR figures are purely optional
# for heap dumps add -XX:-HeapDumpOnOutOfMemoryError
# by default stash has 256m permgen which is a good setting to go with