Docker compose error

I want to run ceramic via docker compose:

version: “3.7”
services:
ipfs:
image: ceramicnetwork/go-ipfs-daemon:latest
ports:
- “5001:5001”
- “8011:8011”
volumes:
- /root/ceramic/data/ipfs:/data/ipfs
container_name: ipfs

ceramicjs:
image: ceramicnetwork/js-ceramic:latest
ports:
- “7007:7007”
volumes:
- /root/ceramic/.ceramic/configs:/root/.ceramic/daemon.config.json
- /root/ceramic/.ceramic/logs:/root/.ceramic/logs
- /root/ceramic/.ceramic/statestore:/root/.ceramic/statestore
container_name: ceramicjs

This way I got errors and no daemon.config.json file

ceramicjs | Ceramic daemon failed to start up:
ceramicjs | [Error: EISDIR: illegal operation on a directory, read] {
ceramicjs | errno: -21,
ceramicjs | code: ‘EISDIR’,
ceramicjs | syscall: ‘read’
ceramicjs | }
ceramicjs exited with code 1

According to this guide

Can you help me please?

This seems to be incorrect:

/root/ceramic/.ceramic/configs:/root/.ceramic/daemon.config.json

Is configs a file or a directory? The first part (before the “:”) needs to be the full local path to the daemon config JSON file.