ERROR: In file './docker-compose.yml', volume must be a mapping not a string

后端 未结 8 1840
清歌不尽
清歌不尽 2020-12-09 02:31

Question: Why do I get this error?

ERROR: In file \'./docker-compose.yml\', volume \'mariavolume\' must be a mapping not a string.

8条回答
  •  孤街浪徒
    2020-12-09 03:27

    For me this works:

    In #docker_compose.yml:

    volumes:
      postgres_data: {}
      static: { }
    

提交回复
热议问题