-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathdocker-compose.yml
35 lines (35 loc) · 955 Bytes
/
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
services:
account-service:
image: gradle:7.6.0-jdk17
command: "gradle clean bootRun"
environment:
#- AUDIT_SERVICE_URL=http://audit-service:8082
- AUDIT_SERVICE_URL=http://host.docker.internal:8888
- SERVER_PORT=8081
ports:
- 48081:8081
working_dir: /account-service
volumes:
- ./account-service:/account-service
audit-service:
image: gradle:7.6.0-jdk17
command: "gradle clean bootRun"
environment:
- SERVER_PORT=8082
ports:
- 48082:8082
working_dir: /audit-service
volumes:
- ./audit-service:/audit-service
debit-service:
image: gradle:7.6.0-jdk17
command: "gradle clean bootRun"
environment:
- ACCOUNT_SERVICE_URL=http://account-service:8081
- AUDIT_SERVICE_URL=http://audit-service:8082
- SERVER_PORT=8083
ports:
- 48083:8083
working_dir: /debit-service
volumes:
- ./debit-service:/debit-service