Use a Container to the Docker Compose

Hi, i’ want to use a compose file to link some my services, i have already a container with all my config specs, i have create it from command line not the DockerFile, but now i need to use it inside a services, i can use a container inside the docker compose file?