-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
39 lines (37 loc) · 802 Bytes
/
Copy pathdocker-compose.yml
File metadata and controls
39 lines (37 loc) · 802 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
version: "3"
services:
frontend:
container_name: frontend
build:
context: ./Front
dockerfile: Dockerfile
environment:
- TZ=Asia/Seoul
ports:
- "5173:5173"
database:
container_name: database
image: mysql:latest
restart: always
ports:
- "3306:3306"
environment:
- MYSQL_ROOT_PASSWORD=neighbrewbe-10
- TZ=Asia/Seoul
- MYSQL_DATABASE=neighbrew
- MYSQL_PASSWORD=neighbrewbe-10
- MYSQL_USER=neighbrewbe
command:
- --character-set-server=utf8mb4
- --collation-server=utf8mb4_unicode_ci
server:
container_name: server
environment:
- TZ=Asia/Seoul
build:
context: ./backend
dockerfile: Dockerfile
ports:
- "9999:9999"
depends_on:
- database