-
Notifications
You must be signed in to change notification settings - Fork 4
Expand file tree
/
Copy pathdocker-compose.remote-debug.yml
More file actions
64 lines (59 loc) · 1.5 KB
/
docker-compose.remote-debug.yml
File metadata and controls
64 lines (59 loc) · 1.5 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
version: "3.8"
services:
postgres:
image: library/postgres:13
container_name: postgres
environment:
POSTGRES_USER: postgres
POSTGRES_PASSWORD: "postgres"
POSTGRES_DB: postgres
volumes:
- db-data:/var/lib/postgresql/data
- ./postgres/:/docker-entrypoint-initdb.d/
ports:
- "5432:5432"
store-service:
build: ./modules/store-service
image: romanowalex/store-service:v1.0-docker-remote-debug
container_name: store-service
environment:
SPRING_PROFILES_ACTIVE: docker
ports:
- "8480:8480"
depends_on:
- postgres
order-service:
build:
context: ./modules/order-service
dockerfile: Dockerfile.docker-env
image: romanowalex/order-service:v1.0-docker-remote-debug
container_name: order-service
environment:
SPRING_PROFILES_ACTIVE: docker
ports:
- "8380:8380"
- "5005:5005"
depends_on:
- postgres
warehouse-service:
build: ./modules/warehouse-service
image: romanowalex/warehouse-service:v1.0-docker-remote-debug
container_name: warehouse-service
environment:
SPRING_PROFILES_ACTIVE: docker
ports:
- "8280:8280"
depends_on:
- postgres
warranty-service:
build: ./modules/warranty-service
image: romanowalex/warranty-service:v1.0-docker-remote-debug
container_name: warranty-service
environment:
SPRING_PROFILES_ACTIVE: docker
ports:
- "8180:8180"
depends_on:
- postgres
volumes:
db-data: