ft_chatons/justfile

20 lines
440 B
Makefile

default:
just --list
## Start the compose of the param
start container="":
docker compose -f core/{{container}}/compose.yml up -d
## Stop the compose of the param
stop container="caddy":
docker compose -f core/{{container}}/compose.yml down
## Restart all the compose
re: stop
docker volume rm $(docker volume ls -q) || true
docker system prune -af
docker volume prune -f
just start caddy
tests:
bash core/tools/test-caddy