How to use variables in docker-compose as named volume for several services?

前端 未结 0 424
野性不改
野性不改 2021-01-06 06:18

how can I use environment variables in named volumes? Lets say we have this:

version: \'3.5\'
services:
  nginx:
    image: imagename
    volumes:
     - ${NG         


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