Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
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
You can’t perform that action at this time.