What is the right syntax to custom create environment variable in Docker-compose file and get in application.properties file in Spring application?

前端 未结 0 367
感情败类
感情败类 2021-01-01 16:09

i\'m new to Dockers, i want to create environment variables to connect my application to MySQL.

Docker-compose.yml

  version         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题