Config: Update windows batch file examples #3509
Signed-off-by: Michael Mayer <michael@photoprism.app>
This commit is contained in:
parent
38e8e1b7ca
commit
09bd901272
5 changed files with 17 additions and 17 deletions
|
@ -12,12 +12,12 @@ Rem
|
|||
Rem curl.exe -o install.bat https://dl.photoprism.app/docker/windows/install.bat
|
||||
Rem install.bat
|
||||
|
||||
echo "Checking Docker version..."
|
||||
echo Checking Docker version...
|
||||
|
||||
docker --version
|
||||
docker compose version
|
||||
|
||||
echo "Downloading config files..."
|
||||
echo Downloading config files...
|
||||
|
||||
curl.exe -o docker-compose.yml https://dl.photoprism.app/docker/windows/docker-compose.yml
|
||||
curl.exe -o start.bat https://dl.photoprism.app/docker/windows/start.bat
|
||||
|
@ -26,19 +26,19 @@ curl.exe -o uninstall.bat https://dl.photoprism.app/docker/windows/uninstall.bat
|
|||
|
||||
dir
|
||||
|
||||
echo "Pulling Docker images..."
|
||||
echo Pulling Docker images...
|
||||
|
||||
docker compose pull
|
||||
|
||||
echo "Starting PhotoPrism and MariaDB..."
|
||||
echo Starting PhotoPrism and MariaDB...
|
||||
|
||||
docker compose up -d
|
||||
|
||||
Start-Sleep -Seconds 10
|
||||
|
||||
echo "Please open the Web UI by navigating to http://localhost:2342/. You should see a login screen."
|
||||
echo "Then log in with the user 'admin' and the password you have specified in PHOTOPRISM_ADMIN_PASSWORD (default is 'insecure')."
|
||||
echo "You can change it on the account settings page. If you enable public mode, authentication will be disabled."
|
||||
echo "Enjoy!"
|
||||
echo Please open the Web UI by navigating to http://localhost:2342/. You should see a login screen.
|
||||
echo Then log in with the user 'admin' and the password you have specified in PHOTOPRISM_ADMIN_PASSWORD (default is 'insecure').
|
||||
echo You can change it on the account settings page. If you enable public mode, authentication will be disabled.
|
||||
echo Enjoy!
|
||||
|
||||
START http://localhost:2342/
|
|
@ -1,6 +1,6 @@
|
|||
echo "Starting PhotoPrism and MariaDB..."
|
||||
echo Starting PhotoPrism and MariaDB...
|
||||
|
||||
docker compose up -d
|
||||
docker compose logs -f
|
||||
|
||||
echo "Done."
|
||||
echo Done.
|
|
@ -1,5 +1,5 @@
|
|||
echo "Stopping PhotoPrism and MariaDB..."
|
||||
echo Stopping PhotoPrism and MariaDB...
|
||||
|
||||
docker compose stop
|
||||
|
||||
echo "Done."
|
||||
echo Done.
|
|
@ -4,11 +4,11 @@ setlocal
|
|||
SET /P AREYOUSURE=Are you sure (Y/[N])?
|
||||
IF /I "%AREYOUSURE%" NEQ "Y" GOTO END
|
||||
|
||||
echo "Stopping PhotoPrism and MariaDB..."
|
||||
echo Stopping PhotoPrism and MariaDB...
|
||||
|
||||
docker compose down -v
|
||||
|
||||
echo "Removing Docker images..."
|
||||
echo Removing Docker images...
|
||||
|
||||
docker compose rm -s -v
|
||||
|
||||
|
|
|
@ -1,10 +1,10 @@
|
|||
echo "Pulling Docker images..."
|
||||
echo Pulling Docker images...
|
||||
|
||||
docker compose pull
|
||||
|
||||
echo "Restarting PhotoPrism and MariaDB..."
|
||||
echo Restarting PhotoPrism and MariaDB...
|
||||
|
||||
docker compose stop
|
||||
docker compose up -d
|
||||
|
||||
echo "Done."
|
||||
echo Done.
|
Loading…
Reference in a new issue