-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocker-compose.yml
59 lines (55 loc) · 1.47 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
version: '3.8'
services:
db:
image: postgres:14.5-alpine
environment:
POSTGRES_PASSWORD: ${DB_PASSWORD}
POSTGRES_USER: ${DB_USERNAME}
POSTGRES_DB: ${DB_NAME}
POSTGRES_INITDB_ARGS: --encoding=UTF-8
ports:
- 5432:5432
volumes:
- db_data:/var/lib/postgresql/data
gg_backend:
build:
context: ./15GG_back
args:
- DB_HOST=${DB_HOST}
- DB_PORT=${DB_PORT}
- DB_USERNAME=${DB_USERNAME}
- DB_PASSWORD=${DB_PASSWORD}
- DB_NAME=${DB_NAME}
- RIOT_TOKEN=${RIOT_TOKEN}
- AMQP_HOST=${AMQP_HOST}
- AWS_ACCESS_KEY=${AWS_ACCESS_KEY}
- AWS_SECRET_ACCESS_KEY=${AWS_SECRET_ACCESS_KEY}
restart: always
ports:
- 8000:8000
gg_frontend:
build:
context: ./15GG_front
args:
- REACT_APP_GG_API_ROOT=${REACT_APP_GG_API_ROOT}
- REACT_APP_GG_WS_ROOT=${REACT_APP_GG_WS_ROOT}
- REACT_APP_DDRAGON_API_ROOT=${REACT_APP_DDRAGON_API_ROOT}
- REACT_APP_OPGG_API_ROOT=${REACT_APP_OPGG_API_ROOT}
- REACT_APP_AWS_ACCESS_KEY=${REACT_APP_AWS_ACCESS_KEY}
- REACT_APP_AWS_SECRET_ACCESS_KEY=${REACT_APP_AWS_SECRET_ACCESS_KEY}
restart: always
ports:
- 80:80
depends_on:
- gg_backend
rabbitmq:
image: rabbitmq:3.11.2-alpine
ports:
- 5672:5672
volumes:
- rabbitmq_data:/var/lib/rabbitmq
restart: always
volumes:
db_data:
rabbitmq_data:
## 젠킨스 빌드 테스트