photoprism/setup/docker/cloud/install_photoprism.sh

25 lines
642 B
Bash
Raw Normal View History

#!/usr/bin/env bash
# PhotoPrism Cloud Init Script
# ============================
#
# Put this script in
#
# /var/lib/cloud/scripts/per-instance
#
# so that it runs once when the server is booting for the first time:
#
# cd /var/lib/cloud/scripts/per-instance
2021-12-12 20:15:52 +01:00
# curl -fsSL https://dl.photoprism.app/docker/cloud/install_photoprism.sh > install_photoprism.sh
# chmod 700 install_photoprism.sh
#
# To create a reusable image for DigitalOcean:
#
# packer build digitalocean.json
#
# Download packer from https://www.packer.io/downloads if not installed yet.
#
# Enjoy!
2021-12-12 20:15:52 +01:00
bash <(curl -s https://dl.photoprism.app/docker/cloud/setup.sh)