Add 'scripts/photoprism/launch-docker.sh'
parent
5fa002ec9b
commit
bf38c28094
|
@ -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
|
Loading…
Reference in New Issue