Huan He
commited on
Commit
·
e28e017
1
Parent(s):
68bb989
update path for spinup
Browse files
conf/spinup/docker-compose.yml
CHANGED
@@ -1,4 +1,4 @@
|
|
1 |
-
name: bike-dataset-
|
2 |
|
3 |
services:
|
4 |
ds:
|
@@ -11,7 +11,10 @@ services:
|
|
11 |
NODE_ENV: spinup
|
12 |
volumes:
|
13 |
- ./default.conf:/etc/nginx/conf.d/default.conf
|
14 |
-
|
|
|
|
|
|
|
15 |
ports:
|
16 |
- 28256:80
|
17 |
restart: always
|
|
|
1 |
+
name: bike-dataset-spinup
|
2 |
|
3 |
services:
|
4 |
ds:
|
|
|
11 |
NODE_ENV: spinup
|
12 |
volumes:
|
13 |
- ./default.conf:/etc/nginx/conf.d/default.conf
|
14 |
+
# unlike other deployment, spinup will use a nginx proxy
|
15 |
+
# to serve all services, the /dataset/ is used in the proxy
|
16 |
+
# so don't change it
|
17 |
+
- ../../data:/usr/share/nginx/html
|
18 |
ports:
|
19 |
- 28256:80
|
20 |
restart: always
|