Skip to content

Instantly share code, notes, and snippets.

@javaeeeee
Created October 29, 2015 09:57
Show Gist options
  • Select an option

  • Save javaeeeee/b5cd8deb4ef208aeb8e4 to your computer and use it in GitHub Desktop.

Select an option

Save javaeeeee/b5cd8deb4ef208aeb8e4 to your computer and use it in GitHub Desktop.
Dropwizard configuration file for testing
## YAML Template.
---
password: p@ssw0rd
#Server configuration.
server:
applicationConnectors:
- type: http
port: 8080
- type: https
port: 8443
keyStorePath: dropbookmarks.keystore
keyStorePassword: p@ssw0rd
validateCerts: false
# Database settings.
database:
# the name of your JDBC driver
driverClass: org.h2.Driver
# the username
user: sa
# the password
password: sa
# the JDBC URL
url: jdbc:h2:mem:db1;DB_CLOSE_DELAY=-1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment