mirror of
https://github.com/stellarshenson/stellars-jupyterhub-ds.git
synced 2026-03-09 22:50:29 +00:00
Add extra/traefik-host-based-routing/ template for creating local deployments with Traefik reverse proxy and self-signed certificates: - compose_override.yml with YOURDOMAIN placeholder - Makefile with start/stop/pull/logs/status targets - start.sh (clone/pull + start services) - stop.sh (stop services) - generate-certs.sh (creates wildcard cert for given domain) - certs/tls.yml template for Traefik file provider - .gitignore (excludes certs and cloned repo) Usage: copy folder, run generate-certs.sh, edit compose_override.yml, run start.sh to clone repo and start services
19 lines
311 B
Makefile
19 lines
311 B
Makefile
.PHONY: start stop pull logs status
|
|
|
|
COMPOSE_CMD = docker compose -f stellars-jupyterhub-ds/compose.yml -f compose_override.yml
|
|
|
|
start:
|
|
$(COMPOSE_CMD) up -d
|
|
|
|
stop:
|
|
$(COMPOSE_CMD) down
|
|
|
|
pull:
|
|
git -C stellars-jupyterhub-ds pull origin main
|
|
|
|
logs:
|
|
$(COMPOSE_CMD) logs -f jupyterhub
|
|
|
|
status:
|
|
$(COMPOSE_CMD) ps
|