mirror of
https://github.com/OpenBankProject/OBP-API.git
synced 2026-02-06 11:27:05 +00:00
Merge branch 'develop'
This commit is contained in:
commit
6af20496a9
24
src/main/resources/props/sample.props.template
Normal file
24
src/main/resources/props/sample.props.template
Normal file
@ -0,0 +1,24 @@
|
||||
#this is a sample props file you should edit and rename
|
||||
#see https://www.assembla.com/wiki/show/liftweb/Properties for all the naming options, or just use "default.props" in this same folder
|
||||
|
||||
#you can use a no config needed h2 database by setting db.driver=org.h2.Driver and not including db.url
|
||||
db.driver=org.postgresql.Driver
|
||||
#be sure to create your database and update the line below!
|
||||
db.url=jdbc:postgresql://localhost:5432/dbname?user=dbusername&password=thepassword
|
||||
|
||||
#this is needed for oauth to work. it's important to access the api over this url, e.g.
|
||||
# if this is 127.0.0.1 don't use localhost to access it.
|
||||
hostname=http://127.0.0.1:8080
|
||||
|
||||
#set this to false if you don't want the api payments call to work
|
||||
payments_enabled=true
|
||||
|
||||
#mail server config: not need in dev mode, but important for production
|
||||
mail.api.consumer.registered.sender.address=no-reply@example.com
|
||||
mail.api.consumer.registered.notification.addresses=you@example.com
|
||||
mail.smtp.host=127.0.0.1
|
||||
mail.smtp.port=25
|
||||
|
||||
#secret key that allows access to api calls to get info about oauth tokens. You should change this
|
||||
#to your own secret key
|
||||
BankMockKey=0Msfsofo3px99v0annf09s9j032
|
||||
Loading…
Reference in New Issue
Block a user