-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
45 lines (43 loc) · 1.22 KB
/
docker-compose.yml
File metadata and controls
45 lines (43 loc) · 1.22 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
services:
dynamodb:
image: amazon/dynamodb-local:latest
container_name: lunaris-dynamodb
command: "-jar DynamoDBLocal.jar -sharedDb -inMemory"
ports:
- "8000:8000"
networks:
- lunaris-network
lambda:
build:
context: .
dockerfile: lambda/Dockerfile
container_name: lunaris-lambda
ports:
- "9000:8080"
environment:
- AWS_REGION=us-east-1
- AWS_ACCESS_KEY_ID=dummy
- AWS_SECRET_ACCESS_KEY=dummy
- DYNAMODB_ENDPOINT=http://dynamodb:8000
- RUNNING_INSTANCES_TABLE_NAME=RunningInstances
- RUNNING_STREAMS_TABLE_NAME=RunningStreams
depends_on:
- dynamodb
networks:
- lunaris-network
frontend:
container_name: lunaris-frontend
platform: linux/amd64
build:
context: .
dockerfile: frontend/Dockerfile
environment:
- NODE_ENV=production
- NEXT_PUBLIC_API_URL=http://localhost:9000
ports:
- "3000:3000"
networks:
- lunaris-network
networks:
lunaris-network:
driver: bridge