Skip to content

Latest commit

 

History

History
97 lines (75 loc) · 3.35 KB

README.md

File metadata and controls

97 lines (75 loc) · 3.35 KB

Docker image of dynamodb and dynamodb-admin

    [+] AUTOR:        Gerardo Junior
    [+] SITE:         https://gerardo-junior.com
    [+] EMAIL:        me@gerardo-junior.com
    [+] GITHUB:       https://github.com/gerardo-junior/dynamodb-docker.git
    [+] TELEGRAM:     @MrGerardoJunior

dynamodb Docker Automated build

dynamodb-admin Docker Automated build

Come on, do your tests

docker pull gerardojunior/dynamodb:stable
docker pull gerardojunior/dynamodb-admin:stable

How to build

to build the image you need install the docker engine only

*~ You can try building with different versions of software with docker args, for example: DYNAMODB_VERSION=latest ~*

# dynamodb
docker build https://github.com/gerardo-junior/dynamodb-docker.git#:dynamodb --tag gerardojunior/dynamodb-admin

# dynamodb-admin
docker build https://github.com/gerardo-junior/dynamodb-docker.git#:dynamodb-admin --tag gerardojunior/dynamodb-admin

How to use

Only with docker command:
# in your project folder
docker run -d -p 4321:8080 gerardojunior/dynamodb:stable

Create the docker-compose.yml file in your project folder with:

# (...)

dynamodb:
    image: gerardojunior/dynamodb:stable
    volumes:
    - type: volume
        source: dbdata
        target: /run/dynamodb
        volume:
            nocopy: true

dynamodb-admin:
    image: gerardojunior/dynamodb-admin:stable
    environment:
        - DYNAMO_ENDPOINT=http://dynamodb
    ports:
        - '8001:8001' # Web admin
    links:
        - dynamodb
    depends_on:
        - dynamodb

# (...)
volumes:
  dbdata:
    name: dynamodb-dbdata
        

How to enter dynamodb-admin image shell

docker run -it --rm gerardojunior/dynamodb-admin:stable sh

# or with docker-compose

docker-compose run dynamodb-admin sh

License

This project is licensed under the MIT License - see the LICENSE file for details