Stop the prod container before starting dev to avoid both registering the same domain with caddy-docker-proxy.
13 lines
197 B
Makefile
13 lines
197 B
Makefile
prod:
|
|
docker compose up -d --build
|
|
|
|
dev:
|
|
docker compose stop docs 2>/dev/null || true
|
|
docker compose --profile dev up --build docs-dev
|
|
|
|
down:
|
|
docker compose down
|
|
|
|
logs:
|
|
docker compose logs -f
|