File tree Expand file tree Collapse file tree 4 files changed +13
-2162
lines changed Expand file tree Collapse file tree 4 files changed +13
-2162
lines changed Original file line number Diff line number Diff line change 1
- version : " 3"
2
-
3
1
# Optional services - not for regular workshop like FOSS4G.
4
2
# start: docker-compose -f docker-compose-services.yml up -d
5
3
# stop: docker-compose -f docker-compose-services.yml stop
@@ -29,6 +27,6 @@ services:
29
27
30
28
networks :
31
29
default :
32
- external :
33
- # Provided by and shared with the Workshop Jupyter Notebook.
34
- name : workshop_default
30
+ # Provided by and shared with the Workshop Jupyter Notebook.
31
+ name : workshop_default
32
+ external : true
Original file line number Diff line number Diff line change 1
- version : " 3"
2
-
3
1
services :
4
2
jupyter :
5
3
container_name : geopython-workshop-jupyter
@@ -8,3 +6,11 @@ services:
8
6
- 8888:8888
9
7
volumes :
10
8
- ./jupyter/content:/jupyter/content:rw
9
+ # networks:
10
+ # default:
11
+ # # Provided by and shared with the services; create and
12
+ # # enable only when using docker-compose-services.yml as well via:
13
+ # # docker network create --driver bridge workshop_default
14
+ # # this is not part of the standard workshop agenda/chapters
15
+ # name: workshop_default
16
+ # external: true
Original file line number Diff line number Diff line change @@ -48,7 +48,8 @@ elif [ $1 == "url" ]; then
48
48
openapp=" cmd /c start"
49
49
fi
50
50
51
- url=$( docker logs geopython-workshop-jupyter 2>&1 | grep " or http" | sed ' s/ or //' )
51
+ # Filter the URL from the log output
52
+ url=$( docker logs geopython-workshop-jupyter 2>&1 | grep " http://127.0.0.1" | tail -n 1 | xargs)
52
53
if [ -z ${url} ]; then
53
54
echo " workshop not started"
54
55
echo " did you start the workshop? (i.e. bash $0 start)"
You can’t perform that action at this time.
0 commit comments