forked from jhwhetstone/cdsWebserver
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
45 lines (42 loc) · 1.07 KB
/
Copy pathdocker-compose.yml
File metadata and controls
45 lines (42 loc) · 1.07 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
directoryserver_db_image:
build: ./directoryServer/target/docker/database
expose:
- 3306
container_name: directory-db
networkserver_db_image:
build: ./directoryServer/target/docker/database
expose:
- 3306
container_name: network-db
directoryserver_app_image:
image: edex/directory-server
volumes:
- ./directoryServer/target:/opt/edexchange
ports:
- 8080:8080
- 8443:8443
environment:
- SPRING_PROFILES_ACTIVE=${profile}
- DB_SERVER=directory-db
- MAIL_SMTP_HOST=${MAIL_SMTP_HOST}
- MAIL_SMTP_USERNAME=${MAIL_SMTP_USERNAME}
- MAIL_SMTP_PASSWORD=${MAIL_SMTP_PASSWORD}
links:
- directoryserver_db_image
container_name: directory-app
networkserver_app_image:
image: edex/network-server
volumes:
- ./networkServer/target:/opt/edexchange
ports:
- 8081:9000
- 9443:9443
environment:
- SPRING_PROFILES_ACTIVE=${profile}
- DB_SERVER=network-db
- DIRECTORY_SERVER=directory-app
- DIRECTORY_SERVER_PORT=8080
links:
- networkserver_db_image
- directoryserver_app_image
container_name: network-app