-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
executable file
·63 lines (62 loc) · 1.4 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
version: '3.1'
services:
oauth2-server-database:
build:
context: rockbuzz-oauth2-server
dockerfile: database.docker
oauth2-server-app:
build:
context: rockbuzz-oauth2-server
dockerfile: app.docker
depends_on:
- oauth2-server-database
volumes:
- "./rockbuzz-oauth2-server:/usr/src/app"
ports:
- "8000:8000"
post-api-database:
build:
context: rockbuzz-post-api
dockerfile: database.docker
post-api-app:
build:
context: rockbuzz-post-api
dockerfile: app.docker
depends_on:
- post-api-database
volumes:
- "./rockbuzz-post-api:/usr/src/app"
ports:
- "8001:8000"
blog-app:
build:
context: rockbuzz-blog
dockerfile: app.docker
depends_on:
- oauth2-server-app
- post-api-app
volumes:
- "./rockbuzz-blog:/usr/src/app"
ports:
- "8002:8000"
admin-app:
build:
context: rockbuzz-admin
dockerfile: app.docker
depends_on:
- oauth2-server-app
- post-api-app
volumes:
- "./rockbuzz-admin:/usr/src/app"
ports:
- "8003:8000"
test:
image: postman/newman:4.4.0-alpine
entrypoint: newman run -e test.postman_environment.json RockBuzz.postman_collection.json
depends_on:
- oauth2-server-app
- post-api-app
- blog-app
- admin-app
volumes:
- "./rockbuzz-tests:/etc/newman"