-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.dev.yml
More file actions
45 lines (42 loc) · 877 Bytes
/
Copy pathdocker-compose.dev.yml
File metadata and controls
45 lines (42 loc) · 877 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
43
44
45
version: '3.3'
services:
# turn:
# container_name: turn
# image: zolochevska/turn-server
# restart: always
# ports:
# - 3478:3478
# - 3478:3478/udp
# environment:
# - USERNAME=ionmi
# - PASSWORD=1234
# - REALM=somerealm.com
client:
container_name: front
build:
dockerfile: Dockerfile
context: client
target: development
ports:
- 8000:5173
env_file: .env
command: npm run dev
volumes:
- ./client:/usr/src/app
- /usr/src/app/node_modules
restart: always
api:
container_name: server
build:
dockerfile: Dockerfile
context: api
target: development
ports:
- 3000:3000
- 4000:5555
env_file: .env
command: npm run start:dev
volumes:
- ./api:/usr/src/app
- /usr/src/app/node_modules
restart: always