Skip to content

Instantly share code, notes, and snippets.

@bradrobertson
Created November 16, 2010 16:24
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save bradrobertson/702010 to your computer and use it in GitHub Desktop.
Save bradrobertson/702010 to your computer and use it in GitHub Desktop.
Sample trinidad config
---
port: 8080 # port where trinidad is running
ajp: # ajp configuration section
port: 8009
jruby_min_runtimes: 1 # min number of runtimes
jruby_max_runtimes: 1 # max number of runtimes
extensions:
logging:
config: /mnt/apps/velo-ul/current/config/log4j.properties
mysql_dbpool: # EXTENSION NAME AS KEY
jndi: 'jdbc/MyDb' # jndi name
username: 'some_user' # database username
password: 'secret' # database password
url: 'jdbc:mysql://localhost:3306/velo-ul' # database url
maxActive: 100 # max nodes actives
maxIdle: 100 # max nodes idles
minIdle: 20
maxWait: 10000 # max nodes waiting
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment