Build YML

Below is the default build.yml file built into the MDM image.

 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
---
# Database connection details
---
database:
    host: postgres
    port: 5432
    name: maurodatamapper
dataSource:
    username: maurodatamapperuser
    password: "this is provided but hidden in these docs"
---
# MDM configuration properties
---
maurodatamapper:
    authority:
        name: 'Mauro Data Mapper'
        url: http://localhost
---
# Standard Email configuration
---
simplejavamail:
    smtp:
        username:
        password:
        host:
        port: 587
    transportstrategy: SMTP_TLS
---
# mdm-plugin-email-proxy Configuration
---
#emailServiceUrl: 
#emailServiceUsername: 
#emailServicePassword: 
---
# CORS
# See http://docs.grails.org/latest/guide/theWebLayer.html#cors
---
grails:
    cors:
        enabled: true
        # The following are the defaults
        # allowedOrigins: [] # Cannot use allowedOrigins with *, they have to be clearly stated origins
        allowedOriginPatterns: [ '*' ]
        allowedMethods: [ 'GET', 'POST', 'PUT', 'DELETE', 'OPTIONS', 'HEAD' ]
        allowedHeaders: [ 'origin', 'content-type', 'accept', 'authorization', 'pragma', 'cache-control' ]
        #exposedHeaders: null
        #maxAge: 1800
        #allowCredentials: true
hibernate:
    search:
        default:
            indexBase: '/lucene'