Add 'scripts/photoprism/launch-docker.sh'

pull/4/head
drunkendog 2023-02-28 18:47:21 +00:00
parent 5fa002ec9b
commit bf38c28094
1 changed files with 10 additions and 0 deletions

View File

@ -0,0 +1,10 @@
read -s -p "Password: " admin_password
docker run -d --net main_subnet --ip 172.30.20.1 \
-e TZ=America/New_York \
--name=photoprism \
-e PHOTOPRISM_UPLOAD_NSFW="true" \
-e PHOTOPRISM_ADMIN_PASSWORD=$admin_password \
-v /opt/photoprism/storage:/photoprism/storage \
-v /opt/syncthing/data1/images:/photoprism/originals \
--restart unless-stopped \
photoprism/photoprism