-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathdocker-compose.yml
37 lines (34 loc) · 1 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
version: "3.9"
services:
backend:
build:
context: ./backend
dockerfile: Dockerfile
ports:
- "8080:8080"
environment:
- ASPNETCORE_ENVIRONMENT=Development
- ConnectionStrings__DefaultConnection=Server=tcp:datj.database.windows.net,1433;Initial Catalog=DATJ;Persist Security Info=False;User ID=germanypeach;Password=GerPeach@123;MultipleActiveResultSets=False;Encrypt=True;TrustServerCertificate=False;Connection Timeout=30;
frontend:
build:
context: ./frontend
dockerfile: Dockerfile
ports:
- "3000:3000"
depends_on:
- backend
environment:
- VITE_SERVER_URL=http://localhost:8080
- NODE_ENV=development
- CHOKIDAR_USEPOLLING=true
volumes:
- ./frontend/src:/app/src
- /app/node_modules
# db:
# image: mcr.microsoft.com/mssql/server:2019-latest
# container_name: sql-server-container
# environment:
# - ACCEPT_EULA=Y
# - SA_PASSWORD=GerPeach@123
# ports:
# - "1433:1433"