-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocker-compose.yml
78 lines (70 loc) · 1.44 KB
/
docker-compose.yml
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
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
version: '3'
services:
gateway:
build:
context: .
dockerfile: docker/Dockerfile_gateway
container_name: gateway
volumes:
- ./src/:/app
privileged: true
networks:
- local
ports:
- 5000:5000
env_file:
- .env
command: /app/entrypoint.sh
centos7:
build:
context: .
dockerfile: docker/Dockerfile_centos7
container_name: centos7
privileged: true
networks:
- local
command: /sbin/init
ubuntu1804:
build:
context: .
dockerfile: docker/Dockerfile_ubuntu1804
container_name: ubuntu1804
privileged: true
networks:
- local
command: /sbin/init
amazonlinux2:
build:
context: .
dockerfile: docker/Dockerfile_amazonlinux2
container_name: amazonlinux2
privileged: true
networks:
- local
command: /sbin/init
dynamodb:
container_name: dynamodb
image: amazon/dynamodb-local
command: -jar DynamoDBLocal.jar -dbPath /home/dynamodblocal/data
volumes:
- ./persist/dynamodb:/home/dynamodblocal/data
ports:
- 50706:8000
networks:
- local
dynamodb-admin:
container_name: dynamodb-admin
build:
context: .
dockerfile: docker/Dockerfile_ddbadmin
command: dynamodb-admin -p 8000
env_file: .env
ports:
- 50727:8000
depends_on:
- dynamodb
networks:
- local
networks:
local:
external: true