Drone CI
This guide shows you how to start LocalStack in a Drone CI pipeline.
A possible alternative to mounting the Docker socket (/var/run/docker.sock
) into the container to communicate with the Docker daemon on the host is to expose port 2375
and make it reachable in the main LocalStack container. However, it requires changes to the typical Docker-Compose setup.
You can easily enable LocalStack Pro by adding your API key to Drone Repository secrets. You can manage them from your repository settings screen. Navigate to your Repository secrets on your Drone repository and add the LocalStack API key as . Here is an example:
services:
- name: localstack
environment:
LOCALSTACK_API_KEY: