Skip to content

Instantly share code, notes, and snippets.

@uptownhr
Created July 20, 2022 16:50
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save uptownhr/56e4967f0b196a332537643a4201c737 to your computer and use it in GitHub Desktop.
Save uptownhr/56e4967f0b196a332537643a4201c737 to your computer and use it in GitHub Desktop.
step function local development
version: '3.7'

services:
  localstack:
    image: localstack/localstack
    environment:
      - DATA_DIR=/tmp/localstack/data
      - SERVICES=lambda
      - TZ=America/New_York
      - LAMBDA_EXECUTOR=docker
    ports:
      - '4574:4574'
    volumes:
      - /tmp/localstack:/tmp/localstack
      - /var/run/docker.sock:/var/run/docker.sock

  stepfunctions:
    container_name: stepfunctions
    image: amazon/aws-stepfunctions-local:latest
    environment:
      - LAMBDA_ENDPOINT=http://localstack:4574
    ports:
      - '8083:8083'```
    - 
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment