photoprism/docker/demo/Makefile
2021-12-14 13:28:00 +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