Run the docker-containers #408
Unanswered
dbsdevelop22
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello,
I´d like to test the system an I thought, the docker-system would be the easy way ;-) . But I fell into Spring-Exceptions, I suppose because wrong modifications of application.properties. Has anyone a working sample of application.properties for a demo-docker-site?
I made the following modifications:
server.port=${PORT:8080} -> server.port=${PORT:8081} # because my port 8080 is used
spring.datasource.url=jdbc:mariadb://localhost:3306/alovoa?createDatabaseIfNotExist=true&serverTimezone=UTC&useLegacyDatetimeCode=false
->
spring.datasource.url=jdbc:mariadb://alovoa-mariadb-1:3306/alovoa?createDatabaseIfNotExist=true&serverTimezone=UTC&useLegacyDatetimeCode=false
(because there was a spring-error not able to connect to the database)
#spring.datasource.password=
#spring.datasource.username=
->
spring.datasource.password=example
spring.datasource.username=root
#app.text.key= #key must be 16, 24 or 32 bytes long
#app.text.salt= #salt must be 16 bytes long
->
app.text.key=1234567890123456
app.text.salt=1234567890123456
spring.mail.username=nonononoki@gmx.de
->
spring.mail.username=dummy@dummy.de
Did I forgot something?
Thanks a lot!
Beta Was this translation helpful? Give feedback.
All reactions