Skip to content

Instantly share code, notes, and snippets.

@wicaker
Created August 31, 2019 16:37
Show Gist options
  • Save wicaker/91d1dd2524bb99f6e693183f5e9af592 to your computer and use it in GitHub Desktop.
Save wicaker/91d1dd2524bb99f6e693183f5e9af592 to your computer and use it in GitHub Desktop.
Docker Compose code, used in project "Create PDF File and Upload to AWS S3 With Golang" for build locakstack
version: '2.1'
services:
localstack:
image: localstack/localstack
ports:
- "4567-4597:4567-4597"
- "${PORT_WEB_UI-8090}:${PORT_WEB_UI-8090}"
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:
- "${TMPDIR:-/tmp/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