forked from Tailormap/tailormap-api
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathapplication-static-only.properties
More file actions
19 lines (14 loc) · 1.04 KB
/
application-static-only.properties
File metadata and controls
19 lines (14 loc) · 1.04 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
# This profile is for PR deployments just serving a different static Angular frontend built with a
# different BASE_HREF, which is hardcoded to use the /api path. So this profile should not connect
# to the database or enable any controllers because the frontend will use the /api from the
# tailormap running on /.
tailormap-api.static-only=true
# serve static frontend from this directory (/home/spring is the workdir in Dockerfile)
spring.web.resources.static-locations=file:/home/cnb/static/,classpath:/static/
spring.main.banner-mode=off
spring.autoconfigure.exclude[0]=org.springframework.boot.jdbc.autoconfigure.DataSourceAutoConfiguration
spring.autoconfigure.exclude[1]=org.springframework.boot.hibernate.autoconfigure.HibernateJpaAutoConfiguration
spring.autoconfigure.exclude[2]=org.springframework.boot.security.autoconfigure.UserDetailsServiceAutoConfiguration
spring.autoconfigure.exclude[3]=org.springframework.boot.quartz.autoconfigure.QuartzAutoConfiguration
management.endpoints.access.default=none
management.endpoints.web.exposure.exclude=*