-
Notifications
You must be signed in to change notification settings - Fork 2
/
goblin-config.example.groovy
53 lines (47 loc) · 1.4 KB
/
goblin-config.example.groovy
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
// ID of this application (used by remote processes to trigger events)
goblinId = '12345'
gameName = 'Little Goblin'
serverUrl = 'http://schedim.de'
environments {
development {
dataSource {
dbCreate = "create"
pooling = true
driverClassName = "com.mysql.jdbc.Driver"
logSql = false
dialect = 'org.hibernate.dialect.MySQL5InnoDBDialect'
url = "jdbc:mysql://localhost:3306/goblin_dev"
username = 'goblin'
password = 'goblin'
}
}
production {
dataSource {
// set dbCreate to "update" or "none" to make the database persistent.
dbCreate = "create"
pooling = true
logSql = false
// enable the following lines in exchange to the mysql-related ones
// to use the postgresql database.
// PostgreSQL:
driverClassName = "org.postgresql.Driver"
dialect = "org.hibernate.dialect.PostgreSQLDialect"
url = "jdbc:postgresql://127.0.0.1:5432/goblin"
// MySQL:
// driverClassName = "com.mysql.jdbc.Driver"
// dialect = 'org.hibernate.dialect.MySQL5InnoDBDialect'
// url = "jdbc:mysql://localhost:3306/goblin"
// Username + Password:
username = 'goblin'
password = 'goblin'
autoReconnect = true
}
}
}
facebook {
enabled=true
enableLikeButton = true
enableFacebookLogin = false
myUrl = 'http://schedim.de/'
appId = '217240194988212'
}