Pretty sure Docker doesn't support include
for something like this. Instead you could run this to use more than one file:
docker-compose -f docker-compose.yaml -f back/docker-compose.yaml -f front/docker-compose.yaml up
-f
tells docker to merge all the files you mention.