· 7 years ago · Jul 23, 2018, 10:14 AM
1# ===================================================================
2# Spring Boot configuration for the "dev" profile.
3#
4# This configuration overrides the application.yml file.
5#
6# More information on profiles: https://jhipster.github.io/profiles/
7# More information on configuration properties: https://jhipster.github.io/common-application-properties/
8# ===================================================================
9
10# ===================================================================
11# Standard Spring Boot properties.
12# Full reference is available at:
13# http://docs.spring.io/spring-boot/docs/current/reference/html/common-application-properties.html
14# ===================================================================
15
16spring:
17 profiles:
18 active: dev
19 include: swagger
20 devtools:
21 restart:
22 enabled: true
23 livereload:
24 enabled: false # we use gulp + BrowserSync for livereload
25 jackson:
26 serialization.indent_output: true
27 datasource:
28 type: com.zaxxer.hikari.HikariDataSource
29 url: jdbc:postgresql://10.181.14.13:5432/c2g0
30 username: postgres
31 password: rootdock
32 jpa:
33 database-platform: io.github.jhipster.domain.util.FixedPostgreSQL82Dialect
34 database: POSTGRESQL
35 show-sql: false
36 properties:
37 hibernate.id.new_generator_mappings: true
38 hibernate.cache.use_second_level_cache: true
39 hibernate.cache.use_query_cache: false
40 hibernate.generate_statistics: true
41 hibernate.javax.cache.provider: org.ehcache.jsr107.EhcacheCachingProvider
42 hibernate.javax.cache.uri: ${spring.cache.jcache.config}
43 hibernate.cache.region.factory_class: io.github.jhipster.config.jcache.SpringCacheRegionFactory
44 cache:
45 jcache:
46 config: ehcache.xml
47 data:
48 elasticsearch:
49 cluster-nodes: http://localhost:9300
50 jest:
51 uri: http://localhost:9200
52 aws-region: eu-central-1
53
54 mail:
55 host: localhost
56 port: 25
57 username:
58 password:
59 messages:
60 cache-seconds: 1
61 thymeleaf:
62 cache: false
63
64liquibase:
65 contexts: dev,staging
66 defaultSchema: public
67
68cloud:
69 aws:
70 credentials:
71 accessKey:
72 secretKey:
73 instanceProfile: true
74 region.static: eu-central-1
75 s3:
76 bucket:
77 name: biztogo
78 uploads-key: uploads
79 uploads-image-key: uploads
80 environment: staging
81 sitemap:
82 bucket:
83 name: sitemap.biztogo.com
84 uploads-key: adverts
85 environment: staging
86 seo:
87 bucket:
88 name: seo.biztogo.com
89 uploads-key: uploads
90 environment: staging
91
92server:
93 port: 9050
94
95# ===================================================================
96# JHipster specific properties
97#
98# Full reference is available at: https://jhipster.github.io/common-application-properties/
99# ===================================================================
100
101jhipster:
102 cache: # Cache configuration
103 ehcache: # Hibernate 2nd level cache
104 max-bytes-local-heap: 16M
105 security:
106 authentication:
107 jwt:
108 secret: my-secret-token-to-change-in-production
109 # Token is valid 24 hours
110 token-validity-in-seconds: 86400
111 token-validity-in-seconds-for-remember-me: 2592000
112 mail: # specific JHipster mail property, for standard properties see MailProperties
113 from: biztogo@localhost
114 base-url: http://localhost:9000
115 metrics: # DropWizard Metrics configuration, used by MetricsConfiguration
116 jmx.enabled: true
117 graphite: # Use the "graphite" Maven profile to have the Graphite dependencies
118 enabled: false
119 host: localhost
120 port: 2003
121 prefix: biztogo
122 prometheus: # Use the "prometheus" Maven profile to have the Prometheus dependencies
123 enabled: false
124 endpoint: /prometheusMetrics
125 logs: # Reports Dropwizard metrics in the logs
126 enabled: false
127 reportFrequency: 60 # in seconds
128 logging:
129 logstash: # Forward logs to logstash over a socket, used by LoggingConfiguration
130 enabled: false
131 host: localhost
132 port: 5000
133 queue-size: 512
134
135# ===================================================================
136# Application specific properties
137# Add your own application properties here, see the ApplicationProperties class
138# to have type-safe configuration, like in the JHipsterProperties above
139#
140# More documentation is available at:
141# https://jhipster.github.io/common-application-properties/
142# ===================================================================
143
144application:
145
146app:
147 upload-image: 'upload-image'
148 upload: 'upload'
149 public-url: 'http://localhost:9060'
150 private-url: 'http://localhost:9070'
151 sitemap: 'sitemap'
152 token:
153 secret: '9SyECk96oDsTmXfogIieDI0cD/8FpnojlYSUJT5U9I/FGVmBz5oskmjOR8cbXTvoPjX+Pq/T/b1PqpHX0lYm0oCBjXWICA=='
154 email:
155 from: info@biztogo.com
156 bank: prod_msb@mailinator.com
157 bank-admin: popov-biztogo@mailinator.com
158 insurance: asidorov-smpins@mailinator.com
159 audit: cagro-audit@mailinator.com
160 yandex-money:
161 scid: 553040
162 shopId: 136854
163 shopPassword: panzerkampfwagen
164 endpoint: https://demomoney.yandex.ru
165 google:
166 apiKey: 'AIzaSyBtCVcdojnTqYeT5msBc4Z7agoPNSXqbU8'
167 test-phone-prefix: '7-000'
168 logs:
169 profile: dev
170 host: 10.181.14.14
171 source: localhost