File tree 2 files changed +9
-8
lines changed
2 files changed +9
-8
lines changed Original file line number Diff line number Diff line change @@ -5,16 +5,17 @@ services:
5
5
frontend :
6
6
build : ../frontend
7
7
container_name : web-dev-frontend
8
- restart : always
9
- command : npm run dev
8
+ volumes :
9
+ - ../frontend:/usr/src/frontend
10
+ - ./:/usr/src/web
10
11
11
12
nginx :
12
13
build : .
13
14
container_name : web-dev-nginx
14
15
restart : always
15
16
volumes :
16
- - ./:/usr/src/robosats/
17
+ - ./:/usr/src/web
17
18
- ./nginx.conf:/etc/nginx/nginx.conf
18
19
- ./coordinators/:/etc/nginx/conf.d/
19
20
ports :
20
- - 80 :80
21
+ - 8080 :80
Original file line number Diff line number Diff line change @@ -32,19 +32,19 @@ http {
32
32
server_name robosats_web_client;
33
33
34
34
location / {
35
- root /usr/src/robosats ;
35
+ root /usr/src/web ;
36
36
try_files $uri $uri / /basic.html;
37
37
index basic.html;
38
38
}
39
39
40
40
location /pro {
41
- root /usr/src/robosats ;
41
+ root /usr/src/web ;
42
42
try_files $uri $uri / /pro.html;
43
43
index pro.html;
44
44
}
45
45
46
46
location /static/ {
47
- alias /usr/src/robosats /static/;
47
+ alias /usr/src/web /static/;
48
48
autoindex on ;
49
49
}
50
50
53
53
}
54
54
55
55
location = /favicon.ico {
56
- alias /usr/src/robosats /static/assets/images/favicon-96x96.png;
56
+ alias /usr/src/web /static/assets/images/favicon-96x96.png;
57
57
}
58
58
}
59
59
}
You can’t perform that action at this time.
0 commit comments