File tree Expand file tree Collapse file tree 1 file changed +14
-9
lines changed Expand file tree Collapse file tree 1 file changed +14
-9
lines changed Original file line number Diff line number Diff line change @@ -15,12 +15,26 @@ endef
1515
1616.PHONY : up down restart build logs cert-check health-check
1717
18+
19+ # utility commands
20+
1821load-env :
1922 $(WITH_ENV ) echo " Environment variables loaded."
2023
2124show-env :
2225 ${WITH_ENV} > /dev/null 2>&1 ; printenv | grep -E " ^(JUPYTER)" | sort
2326
27+ logs-dev :
28+ docker logs -f --tail 10000 ${CONTAINER_NAME_DEV}
29+
30+ logs :
31+ docker logs -f --tail 10000 $(CONTAINER_NAME )
32+
33+ health-check :
34+ ${WITH_ENV} curl -k -v https://localhost:${JUPYTERHUB_INTERNAL_PORT} /
35+
36+ # start services
37+
2438start-dev :
2539 $(WITH_ENV ) docker compose -f docker-compose.dev.yml $(DC_START_CMD )
2640
@@ -35,12 +49,3 @@ start-prod:
3549
3650stop-all :
3751 $(WITH_ENV ) docker compose -f $(COMPOSE_BASE ) -f docker-compose.dev.yml -f docker-compose.local.yml -f docker-compose.prod.yml docker-compose.yml ${DC_DOWN_CMD}
38-
39- logs-dev :
40- docker logs -f --tail 10000 ${CONTAINER_NAME_DEV}
41-
42- logs :
43- docker logs -f --tail 10000 $(CONTAINER_NAME )
44-
45- health-check :
46- curl -k -v https://localhost:8888/
You can’t perform that action at this time.
0 commit comments