-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathcompose.yml
More file actions
69 lines (61 loc) · 1.17 KB
/
compose.yml
File metadata and controls
69 lines (61 loc) · 1.17 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
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
services:
mariadb:
image: mariadb:11.8
expose:
- "3306"
environment:
MARIADB_ROOT_PASSWORD: Oradoc_db1
MARIADB_DATABASE: tempdb
restart: always
mongodb:
image: mongo:8.0
expose:
- "27017"
restart: always
python-api:
build: python-api
environment:
MARIADB_HOST: mariadb
expose:
- "5000"
depends_on:
- mariadb
restart: always
java-api:
build: java-api
expose:
- "8080"
restart: always
nodejs-api:
build: nodejs-api
environment:
MONGODB_URL: mongodb://mongodb:27017/tempdb
depends_on:
- mongodb
expose:
- "3000"
restart: always
ruby-api:
build: ruby-api
expose:
- "4567"
restart: always
php-api:
build: php-api
expose:
- "80"
restart: always
frontend:
build: frontend
volumes:
- "./frontend/conf.d:/etc/nginx/conf.d"
- "./frontend/public/swagger.yaml:/usr/share/nginx/html/swagger.yaml"
# - "./frontend/dist:/usr/share/nginx/html"
depends_on:
- java-api
- nodejs-api
- python-api
- ruby-api
ports:
- "80:80"
restart: always