Skip to content

Instantly share code, notes, and snippets.

@d-kuro
Last active January 26, 2022 11:45
Show Gist options
  • Save d-kuro/07992d7a149dd62a2be24cf9d23e8033 to your computer and use it in GitHub Desktop.
Save d-kuro/07992d7a149dd62a2be24cf9d23e8033 to your computer and use it in GitHub Desktop.
DynamoDB Local Docker image setting heap size.

DynamoDB Local Docker image setting heap size

docker-compose

version: "3"
services:
  dynamodb:
    image: amazon/dynamodb-local:1.11.119
    ports:
    - "8000:8000"
    command: -Xmx256m -jar DynamoDBLocal.jar -inMemory

CircleCI

version: 2
jobs:
  build:
    working_directory: /app
    docker:
      - image: amazon/dynamodb-local:1.11.119
        command: -Xmx256m -jar DynamoDBLocal.jar -inMemory
...
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment