Last active
December 27, 2021 04:31
-
-
Save agusrichard/e7a8bbbb0aa6eb3c20da52a9535bb0f5 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
version: '3.8' | |
services: | |
app: | |
build: . | |
volumes: | |
- "./:/app" | |
ports: | |
- "5000:5000" | |
depends_on: | |
- db | |
db: | |
image: amazon/dynamodb-local | |
restart: unless-stopped | |
ports: | |
- 8000:8000 | |
admin: | |
build: | |
context: . | |
dockerfile: admin.Dockerfile | |
ports: | |
- 8001:8001 | |
environment: | |
- DYNAMO_ENDPOINT=http://db:8000 | |
- AWS_REGION=example | |
- AWS_ACCESS_KEY_ID=example | |
- AWS_SECRET_ACCESS_KEY=example | |
depends_on: | |
- db |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment