-
Notifications
You must be signed in to change notification settings - Fork 12
/
docker-compose.yaml
58 lines (47 loc) · 1.03 KB
/
docker-compose.yaml
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
version: "3.1"
services:
client:
image: vidown-client-image:latest
container_name: vidown-client-container
build:
context: ./public
dockerfile: Dockerfile
ports:
- "3000:3000"
depends_on:
- server
networks:
- ydown-network
develop:
watch:
- path: ./public/package.json
action: rebuild
- path: ./public/package-lock.json
action: rebuild
- path: ./public
target: /app
action: sync
server:
image: vidown-server-image:latest
container_name: vidown-server-container
build:
context: ./server
dockerfile: Dockerfile
env_file:
- ./server/.env
ports:
- "3030:3030"
networks:
- ydown-network
develop:
watch:
- path: ./server/package.json
action: rebuild
- path: ./server/package-lock.json
action: rebuild
- path: ./server
target: /app
action: sync
networks:
ydown-network:
driver: bridge