-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
60 lines (57 loc) · 1.04 KB
/
docker-compose.yml
File metadata and controls
60 lines (57 loc) · 1.04 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
# 필요한 것들 볼륨 설정
version: "3.7"
services:
mysql:
container_name: mysql
build:
context: ./mysqldb
dockerfile: Dockerfile
ports:
- 3306:3306
environment:
TZ: Asia/Seoul
networks:
- ssily
restart: always
redis:
image: redis:alpine
command: redis-server --port 6380
container_name: redis
hostname: redis
labels:
- "name=redis"
- "mode=standalone"
ports:
- 6380:6380
networks:
- ssily
backend:
container_name: backend
build:
context: ./backend/ssily
dockerfile: Dockerfile
ports:
- 5500:5500
depends_on:
- mysql
- redis
networks:
- ssily
frontend:
container_name: frontend
build:
context: ./frontend
dockerfile: Dockerfile
ports:
- 8081:8081
- 80:80
- 443:443
volumes:
- /etc/letsencrypt:/etc/letsencrypt
depends_on:
- backend
networks:
- ssily
networks:
ssily:
driver: bridge