-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
42 lines (41 loc) · 906 Bytes
/
Copy pathdocker-compose.yml
File metadata and controls
42 lines (41 loc) · 906 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
40
41
42
services:
backend:
build: ./backend
ports:
- "3000:3000"
environment:
- NODE_ENV=production
- PORT=3000
- CORS_ORIGIN=http://localhost:8080
- SQL_SERVER_USER=sa
- SQL_SERVER_PASSWORD=Abc@123123#1010
- SQL_SERVER_SERVER=db
- SQL_SERVER_DATABASE=clothes369
depends_on:
- db
networks:
- same_network
frontend:
build: ./frontend
ports:
- "8080:80"
environment:
- VITE_API_URL=http://backend:3000/
- VITE_API_BASE_URL=http://backend:3000/api
- VITE_API_TIMEOUT=10000
- VITE_API_UPLOAD_URL=http://backend:3000/api/upload
depends_on:
- backend
networks:
- same_network
db:
build:
context: ./database/v0.0.0/docker
dockerfile: Dockerfile
ports:
- "1435:1433"
networks:
- same_network
networks:
same_network:
driver: bridge