How to pass variables from .env/docker-compose.yaml file to nginx server file (default.conf)

后端 未结 0 1795
逝去的感伤
逝去的感伤 2020-12-03 01:55

I have a docker-compose.yaml file and a .env file. If I declare a variable in the env file, I can access it in docker-compose. So, this is good.

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