-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
54 lines (47 loc) · 1.55 KB
/
docker-compose.yml
File metadata and controls
54 lines (47 loc) · 1.55 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
services:
kisok:
build:
context: ./FE/kiosk
image: react_container # 이미지 이름 설정
container_name: react_container # 컨테이너 이름 설정
ports:
- "3000:3000" # kiosk React 앱 포트
networks:
- my_network #나만의 network 설정!
web:
build:
context: ./FE/web
image: react_container_web # 이미지 이름 설정
container_name: react_container_web # 컨테이너 이름 설정
ports:
- "3001:3001" # web React 앱 포트
networks:
- my_network #나만의 network 설정!
spring-boot-app:
build:
context: ./BE/o2o
image: tem # 이미지 이름 설정
container_name: my_container # 컨테이너 이름 설정
ports:
- "8000:8000" # 스프링 부트 포트
networks:
- my_network #나만의 network 설정!
nginx:
build:
context: ./nginx # Dockerfile이 위치한 경로
image: nginx:alpine
container_name: nginx_container # 컨테이너 이름 설정
ports:
- "80:80"
- "443:443" # HTTPS 포트
#volumes:
#- /etc/letsencrypt/live/i11d101.p.ssafy.io/fullchain.pem:/etc/letsencrypt/live/i11d101.p.ssafy.io/fullchain.pem # SSL 인증서 경로
#- /etc/letsencrypt/live/i11d101.p.ssafy.io/privkey.pem:/etc/letsencrypt/live/i11d101.p.ssafy.io/privkey.pem # SSL 개인 키 경로
depends_on:
- kisok
- web
- spring-boot-app
networks:
- my_network #나만의 network 설정!
networks:
my_network: #네트워크 정의!@