ckwan
(Choon Kit Wan)
1
Hi Jmix Team,
I tried to configure jmix.core.conf-dir inside tomcat env
I set to /opt/tomcat/jmix/conf then I upload application.properties
I want application.properties inside the OS to override the default application.properties inside the coding. Is that possible ?
I compiled it with War file.
Regards,
CK
f.zehnder
(F Zehnder)
2
Hi @ckwan
With jar I place the application.properties in the directory where the .jar is placed.
Regards
Felix
ckwan
(Choon Kit Wan)
3
@f.zehnder
I found a way to override it on tomcat.
I set below in setenv.sh
--spring.config.location="file:///path/to/your/config/application.properties"
Regards,
CK
1 Like