Docker Fixes
This commit is contained in:
parent
ac53f04e0a
commit
8f797a51f1
5 changed files with 69 additions and 6 deletions
|
|
@ -2,6 +2,12 @@
|
|||
# Activated with: java -jar fitpub.jar --spring.profiles.active=prod
|
||||
|
||||
spring:
|
||||
# Disable Testcontainers auto-configuration in production
|
||||
autoconfigure:
|
||||
exclude:
|
||||
- org.springframework.boot.testcontainers.service.connection.ContainerConnectionDetailsAutoConfiguration
|
||||
- org.springframework.boot.testcontainers.lifecycle.TestcontainersLifecycleBeanPostProcessor
|
||||
|
||||
# Production datasource - must be configured via environment variables
|
||||
datasource:
|
||||
url: ${SPRING_DATASOURCE_URL}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue