Important! Very interesting article here. Docker Compose or Ansible? So, the recommendation here is to use Ansible as it is more general and powerful than Docker Compose.
20180619/https://www.ansible.com/blog/how-i-switched-from-docker-compose-to-pure-ansible