-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
44 lines (40 loc) · 988 Bytes
/
docker-compose.yml
File metadata and controls
44 lines (40 loc) · 988 Bytes
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
version: '3.8'
services:
mongodb:
image: mongo:latest
container_name: mongodb
ports:
- "27017:27017"
environment:
MONGO_INITDB_ROOT_USERNAME: user
MONGO_INITDB_ROOT_PASSWORD: pass
MONGO_INITDB_DATABASE: auction
networks:
- kantakap-network
kantakap-auction-file-handler:
build: https://github.com/kantakap/auction-file-handler.git
container_name: kantakap-auction-file-handler
ports:
- "8090:8090"
depends_on:
- mongodb
networks:
- kantakap-network
kantakap-auction-api:
build:
context: ./
dockerfile: Dockerfile
container_name: kantakap-auction-api
ports:
- "8080:8080"
- "5005:5005"
depends_on:
- mongodb
networks:
- kantakap-network
environment:
SPRING_PROFILES_ACTIVE: docker
JAVA_TOOL_OPTIONS: "-agentlib:jdwp=transport=dt_socket,server=y,suspend=n,address=*:5005"
networks:
kantakap-network:
driver: bridge