Background steps
If you need to run a process in the background during your workflows (e.g. to run a service not available by default, or to run a development server provided by your application framework) you can use the following templates to do so.
steps:
...
- run: docker run --rm -p 6379:6379 redis
background: true
# wait for the service to be healthy
- run: dockerize -wait tcp://:6379 -timeout 30s
The background step will be started in background and the next step will run immediately. In many cases the process isn't fully ready, so you should wait it be healthy.