-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocker-compose.yml
66 lines (59 loc) ยท 1.19 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
63
64
65
66
version: '3.8'
services:
redis_queue:
image: redis:alpine
ports:
- "6379:6379"
networks:
- my_network
spring-app:
image: ztyle
environment:
GCS_BUCKET: ${๋ฒํท๋ช
}
GCS_CREDENTIALS: ${ํ๋ก์ ํธ ๊ถํํค}
GCS_PROJECT_ID: ${ํ๋ก์ ํธ ID}
SOURCE_MYSQL_URL: ${DB IP}
SOURCE_MYSQL_USERNAME: ${DB ์ ์ ๋ช
}
SOURCE_MYSQL_PASSWORD: ${DB ํจ์ค์๋}
SOURCE_REDIS_URL: redis_queue
SOURCE_REDIS_PORT: 6379
depends_on:
- redis_queue
ports:
- "8070:8080"
networks:
- my_network
tshirts-server:
build:
context: ./ml
dockerfile: tshirts_docker
ports:
- "5000:5000"
networks:
- my_network
pants-server:
build:
context: ./ml
dockerfile: pants_docker
ports:
- "5001:5001"
networks:
- my_network
hat-server:
build:
context: ./ml
dockerfile: hat_docker
ports:
- "5002:5002"
networks:
- my_network
skirt-server:
build:
context: ./ml
dockerfile: skirt_docker
ports:
- "5003:5003"
networks:
- my_network
networks:
my_network: