Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixing dynamodb local v2.0 change plus creating dynamodb tables at startup #281

Merged
merged 2 commits into from
Sep 28, 2023
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .devcontainer/devcontainer.json
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,7 @@
// Use 'forwardPorts' to make a list of ports inside the container available locally.
// "forwardPorts": [],
// Use 'postCreateCommand' to run commands after the container is created.
'postCreateCommand': '.devcontainer/maxmind-create.sh && .devcontainer/dynamodb-create.sh',
"remoteUser": "vscode",
"features": {
"ghcr.io/devcontainers/features/aws-cli:1": {
Expand Down
5 changes: 3 additions & 2 deletions .devcontainer/docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,11 +20,12 @@ services:
VARIANT: "3.11"
INSTALL_NODE: "true"
NODE_VERSION: "lts/*"
LICENSE_KEY: '${MAXMIND_KEY}'
volumes:
- ..:/workspace:cached
command: sleep infinity
environment:
AWS_ACCESS_KEY_ID: 'AWS_ACCESS_KEY_ID'
AWS_SECRET_ACCESS_KEY: 'AWS_SECRET_ACCESS_KEY'
AWS_ACCESS_KEY_ID: 'AWSACCESSKEYID'
AWS_SECRET_ACCESS_KEY: 'AWSSECRETACCESSKEY'
SHELL: /bin/zsh
ENVIRONMENT: 'dev'