I made an image for the vsftpd daemon, which is a ftp service. I naively came up with the following docker-compose.yml :
docker-compose.yml
version: \'3\' services