forked from heremaps/xyz-hub
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
33 lines (33 loc) · 803 Bytes
/
docker-compose.yml
File metadata and controls
33 lines (33 loc) · 803 Bytes
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
version: "3"
services:
xyz-hub:
image: "xyz-hub"
build:
context: "./"
container_name: "xyz-hub"
ports:
- "8080:8080"
- "8181:8181"
depends_on:
- "postgres"
- "dynamodb"
- "redis"
postgres:
image: "xyz-postgres"
build:
context: "./"
dockerfile: "Dockerfile-postgres"
container_name: "postgres"
ports:
- "5432:5432"
dynamodb:
image: "amazon/dynamodb-local"
container_name: "dynamodb"
ports:
- "8000:8000"
command: ["-jar", "DynamoDBLocal.jar", "-sharedDb"]
redis:
image: "redis:alpine"
container_name: "redis"
ports:
- "6379:6379"