Is building with docker-compose supported?

I currently have application dependencies (Redis, Postgres) defined in a docker-compose.yml. Can I reference this file in Drone? Or do I need to define as Services?

If I need to define Services, is there something more advanced that using “sleep” to wait for dependent services? perhaps a healthcheck?

You’ll need to create a .drone.yml. The services section I believe is inspired by docker compose v3.

Typically yes you have to have your own way of verifying the services before you do your testing. You could always put the waiting for a connection part into a different step and then run the tests immediately afterwards to make things cleaner.

See for examples of some services being run inside drone. Not all are updated for 1.0 but they should give you the basic idea and of course PRs are welcome.