2023-07-13 13:11:32 +02:00
|
|
|
@echo off
|
|
|
|
|
|
|
|
Rem With Docker up and running, change to the directory where you want to install PhotoPrism,
|
|
|
|
Rem and then run the following commands in a terminal (command prompt) to download our
|
|
|
|
Rem configuration examples and start PhotoPrism on your local PC:
|
|
|
|
Rem
|
|
|
|
Rem curl.exe -o install.bat https://dl.photoprism.app/docker/windows/install.bat
|
|
|
|
Rem install.bat
|
|
|
|
|
2023-07-13 13:53:35 +02:00
|
|
|
echo If you don't have Docker installed yet, please follow this guide to download
|
|
|
|
echo and install Docker Desktop before you proceed:
|
|
|
|
echo:
|
|
|
|
echo https://docs.docker.com/desktop/install/windows-install/
|
|
|
|
|
2023-07-13 13:57:22 +02:00
|
|
|
timeout /t 10
|
2023-07-13 13:53:35 +02:00
|
|
|
|
2023-07-13 14:01:58 +02:00
|
|
|
echo:
|
2023-07-13 13:27:01 +02:00
|
|
|
echo Checking Docker version...
|
2023-07-13 12:50:03 +02:00
|
|
|
|
|
|
|
docker --version
|
|
|
|
docker compose version
|
|
|
|
|
2023-07-13 14:01:58 +02:00
|
|
|
echo:
|
2023-07-13 13:27:01 +02:00
|
|
|
echo Downloading config files...
|
2023-07-13 12:50:03 +02:00
|
|
|
|
2023-07-13 14:01:58 +02:00
|
|
|
curl.exe -s -o docker-compose.yml https://dl.photoprism.app/docker/windows/docker-compose.yml
|
|
|
|
curl.exe -s -o start.bat https://dl.photoprism.app/docker/windows/start.bat
|
|
|
|
curl.exe -s -o stop.bat https://dl.photoprism.app/docker/windows/stop.bat
|
|
|
|
curl.exe -s -o uninstall.bat https://dl.photoprism.app/docker/windows/uninstall.bat
|
2023-07-13 14:05:14 +02:00
|
|
|
curl.exe -s -o update.bat https://dl.photoprism.app/docker/windows/update.bat
|
2023-07-13 12:50:03 +02:00
|
|
|
|
2023-07-13 14:01:58 +02:00
|
|
|
echo:
|
2023-07-13 13:27:01 +02:00
|
|
|
echo Pulling Docker images...
|
2023-07-13 12:50:03 +02:00
|
|
|
|
|
|
|
docker compose pull
|
|
|
|
|
2023-07-13 14:01:58 +02:00
|
|
|
echo:
|
2023-07-13 13:27:01 +02:00
|
|
|
echo Starting PhotoPrism and MariaDB...
|
2023-07-13 12:50:03 +02:00
|
|
|
|
|
|
|
docker compose up -d
|
2023-07-13 13:30:57 +02:00
|
|
|
timeout /t 20
|
2023-07-13 12:50:03 +02:00
|
|
|
|
2023-07-13 14:01:58 +02:00
|
|
|
echo:
|
2023-07-13 13:53:35 +02:00
|
|
|
echo You should now be able to log in with the user "admin" when navigating to the following URL:
|
|
|
|
echo:
|
|
|
|
echo http://localhost:2342/
|
|
|
|
echo:
|
2023-11-27 21:59:55 +01:00
|
|
|
echo The initial password is "insecure". Please change it under Settings ^> Account before you proceed.
|
2023-07-13 12:50:03 +02:00
|
|
|
|
2023-11-27 21:59:55 +01:00
|
|
|
START http://localhost:2342/
|