Skip to content

Instantly share code, notes, and snippets.

@juancho088
Created April 1, 2018 16:34
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 juancho088/bc91355ecce86921adf59723418dbc40 to your computer and use it in GitHub Desktop.
Save juancho088/bc91355ecce86921adf59723418dbc40 to your computer and use it in GitHub Desktop.
Using Kotlin in Serverless Architecture docker-compose with LocalStack
version: '2.1'
services:
localstack:
image: localstack/localstack
privileged: true
ports:
- "4567-4583:4567-4583"
- "8080:8080"
environment:
- SERVICES=${SERVICES- }
- DEBUG=${DEBUG- }
- DATA_DIR=${DATA_DIR- }
- PORT_WEB_UI=${PORT_WEB_UI- }
- LAMBDA_EXECUTOR=${LAMBDA_EXECUTOR- }
- KINESIS_ERROR_PROBABILITY=${KINESIS_ERROR_PROBABILITY- }
- DOCKER_HOST=unix:///var/run/docker.sock
volumes:
- "./.localstack:/tmp/localstack"
- "/var/run/docker.sock:/var/run/docker.sock"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment