title: How to specify user owning volume created via docker-compose configuration?
body: <p>I have the following <code>docker-compose.yml</code></p>
  
  <pre><code>version: '3.7'
  
  services:
    xxx:
      container_name: xxx
      image: xxx
      volumes:
        - config:/some_mountpoint
      user: 1000:1000
  
  volumes:
    config: # &lt;- this volume
  </code></pre>
  
  <p>How can I specify for which user the <code>config</code> volume will be created i.e. the mountpoint permissions?</p>
  
  <p>Without specifying those permission <code>/some_mountpoint</code> is owned by <code>root:root</code> inside the container.</p>