luckylukeSVK
Explore posts from serversGithub SECRETs as base64 to FILE in JAVA SPRING project with railway ?
ok i find another solution, where i dont need files, only env variables.
it is possible to use env variables, if you have key/certificate in form of PEM style text. you need use soring sll bundle pem
spring.ssl.bundle.pem.mybundle.keystore.certificate=${PRIVATE_KEY}
spring.ssl.bundle.pem.mybundle.keystore.private-key=${CERTIFICATE_CRT}
spring.ssl.bundle.pem.mybundle.truststore.certificate=${CA_BUNDLE}
server.port=8443
server.ssl.bundle=mybundle
13 replies
Java Spring Frontend deployed on server do not show central european letters with diacritic
set this: spring.sql.init.encoding = UTF-8
source: https://stackoverflow.com/questions/36222213/wrong-encoding-between-spring-and-postgresql
21 replies
Java Spring Frontend deployed on server do not show central european letters with diacritic
i did copied queries of hybernate and from data.sql and runned them directli in the administration of postgres Db on the page of railway and there it worked fine
21 replies
Java Spring Frontend deployed on server do not show central european letters with diacritic
the problem was in postgres database, i was initializiing data in database via sql queries, my local postgres Db accepted central eurpean symblols. but postgres databaase on railway server does not accept centra european symbols.
21 replies