photoprism/docker/demo/Makefile
Michael Mayer 6c3b4603a8 Docker: Change "docker-compose" command to "docker compose" #1192
Signed-off-by: Michael Mayer <michael@photoprism.app>
2022-11-05 16:31:08 +01:00

15 lines
357 B
Makefile

.PHONY: all restart terminal logs;
all: restart
restart:
docker compose pull demo
docker compose stop demo
find config -type f -name 'settings.yml' -delete
docker compose up -d --force-recreate demo
install:
docker compose pull
docker compose stop
docker compose up -d
terminal:
docker compose exec demo bash
logs:
docker compose logs --tail=50 -f