forked from RubendelRey/Prototipo-TFG
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocker-compose.yml
62 lines (55 loc) · 1.35 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.5"
services:
#Clínica dental
clinicadental-webapp:
build: ./clinicaDental/webapp
environment:
DOMAIN: clinicadental-restapi
ports:
- "5443:5443"
depends_on:
- clinicadental-restapi
clinicadental-restapi:
build: ./clinicadental/restapi
environment:
MONGO_CONNETION_STRING: mongodb://admin:password@clinicadental-mongo:27017/
ports:
- "5444:5444"
depends_on:
- clinicadental-mongo
clinicadental-mongo:
image: mongodb/mongodb-community-server:6.0-ubi8
environment:
- MONGODB_INITDB_ROOT_USERNAME=admin
- MONGODB_INITDB_ROOT_PASSWORD=password
ports:
- "5445:27017"
#Hospital
hospital-webapp:
build: ./hospital/webapp
environment:
DOMAIN: hospital-restapi
ports:
- "6443:6443"
depends_on:
- hospital-restapi
hospital-restapi:
build: ./hospital/restapi
environment:
MONGO_CONNETION_STRING: mongodb://admin:password@hospital-mongo:27017/
ports:
- "6444:6444"
depends_on:
- hospital-mongo
hospital-mongo:
image: mongodb/mongodb-community-server:6.0-ubi8
environment:
- MONGODB_INITDB_ROOT_USERNAME=admin
- MONGODB_INITDB_ROOT_PASSWORD=password
ports:
- "6445:27017"
#Navegador de Pods
podbrowser:
build: "./podbrowser"
ports:
- "4443:4443"