mirror of
https://github.com/photoprism/photoprism.git
synced 2026-01-23 02:24:24 +00:00
Setup: Update DigitalOcean Docker configuration (#4978)
* Setup: Update Digital Ocean Docker Image * Setup: update digital ocean docs * Setup: Update Docker CE version in cloud README * Setup: Update Traefik version to 3.4 * Setup: Update software versions in DigitalOcean README
This commit is contained in:
parent
4dc703c855
commit
7d1c453960
4 changed files with 16 additions and 17 deletions
|
|
@ -1,17 +1,16 @@
|
|||
========================================================================
|
||||
PhotoPrism for Cloud Servers
|
||||
Based on Ubuntu 22.04 LTS (Jammy Jellyfish)
|
||||
========================================================================
|
||||
|
||||
SOFTWARE INCLUDED
|
||||
------------------------------------------------------------------------
|
||||
|
||||
PhotoPrism latest, AGPL 3
|
||||
Docker CE 23.0, Apache 2
|
||||
Traefik 2.9, MIT
|
||||
MariaDB 10.10, GPL 2
|
||||
Ofelia 0.3, MIT
|
||||
Watchtower 1.5, Apache 2
|
||||
Docker CE latest, Apache 2
|
||||
Traefik 3.4, MIT
|
||||
MariaDB 11, GPL 2
|
||||
Ofelia latest, MIT
|
||||
Watchtower latest, Apache 2
|
||||
|
||||
GETTING STARTED
|
||||
------------------------------------------------------------------------
|
||||
|
|
|
|||
|
|
@ -1,6 +1,5 @@
|
|||
# ========================================================================
|
||||
# PhotoPrism for Cloud Servers
|
||||
# Based on Ubuntu 22.04 LTS (Jammy Jellyfish)
|
||||
# ========================================================================
|
||||
#
|
||||
# Run this script as root to install PhotoPrism on a cloud server e.g. at DigitalOcean:
|
||||
|
|
@ -154,9 +153,9 @@ services:
|
|||
PHOTOPRISM_JPEG_QUALITY: 85 # a higher value increases the quality and file size of JPEG images and thumbnails (25-100)
|
||||
PHOTOPRISM_DETECT_NSFW: "false" # automatically flags photos as private that MAY be offensive (requires TensorFlow)
|
||||
PHOTOPRISM_UPLOAD_NSFW: "true" # allows uploads that MAY be offensive (no effect without TensorFlow)
|
||||
PHOTOPRISM_UPLOAD_ALLOW: "" # restricts uploads to these file types (comma-separated list of EXTENSIONS; leave blank to allow all)
|
||||
PHOTOPRISM_UPLOAD_ARCHIVES: "true" # allows upload of zip archives (will be extracted before import)
|
||||
PHOTOPRISM_DATABASE_DRIVER: "mysql" # MariaDB 10.5.12+ (MySQL successor) offers significantly better performance compared to SQLite
|
||||
PHOTOPRISM_UPLOAD_ALLOW: "" # restricts uploads to these file types (comma-separated list of EXTENSIONS; leave blank to allow all)
|
||||
PHOTOPRISM_UPLOAD_ARCHIVES: "true" # allows upload of zip archives (will be extracted before import)
|
||||
PHOTOPRISM_DATABASE_DRIVER: "mysql" # MariaDB 11 (MySQL successor) offers significantly better performance compared to SQLite
|
||||
PHOTOPRISM_DATABASE_SERVER: "mariadb:3306" # MariaDB database server (hostname:port)
|
||||
PHOTOPRISM_DATABASE_NAME: "photoprism" # MariaDB database schema name
|
||||
PHOTOPRISM_DATABASE_USER: "photoprism" # MariaDB database user name
|
||||
|
|
@ -179,7 +178,7 @@ services:
|
|||
## see https://docs.photoprism.app/getting-started/proxies/traefik/
|
||||
traefik:
|
||||
restart: always
|
||||
image: traefik:v2.11
|
||||
image: traefik:v3.4
|
||||
container_name: traefik
|
||||
ports:
|
||||
- "80:80"
|
||||
|
|
|
|||
|
|
@ -14,11 +14,11 @@ SOFTWARE INCLUDED
|
|||
---------------------------------------
|
||||
|
||||
- [PhotoPrism latest](https://docs.photoprism.app/release-notes/), AGPL 3
|
||||
- [Docker CE 23.0](https://docs.docker.com/engine/release-notes/), Apache 2
|
||||
- [Traefik 2.9](https://github.com/traefik/traefik/releases), MIT
|
||||
- [MariaDB 10.10](https://mariadb.com/kb/en/release-notes/), GPL 2
|
||||
- [Ofelia 0.3](https://github.com/mcuadros/ofelia/releases), MIT
|
||||
- [Watchtower 1.5](https://github.com/containrrr/watchtower/releases), Apache 2
|
||||
- [Docker CE latest](https://docs.docker.com/engine/release-notes/), Apache 2
|
||||
- [Traefik 3.4](https://github.com/traefik/traefik/releases), MIT
|
||||
- [MariaDB 11](https://mariadb.com/kb/en/release-notes/), GPL 2
|
||||
- [Ofelia latest](https://github.com/mcuadros/ofelia/releases), MIT
|
||||
- [Watchtower latest](https://github.com/containrrr/watchtower/releases), Apache 2
|
||||
|
||||
GETTING STARTED
|
||||
---------------------------------------
|
||||
|
|
|
|||
|
|
@ -121,4 +121,5 @@ apt-get autoremove
|
|||
(cd /opt/photoprism && docker compose pull && docker compose stop && docker compose up --remove-orphans -d)
|
||||
|
||||
# show public server URL and initial admin password
|
||||
printf "\nServer URL:\n\n https://%s/\n\nInitial admin password:\n\n %s\n\n" "${PUBLIC_IP}" "${ADMIN_PASSWORD}"
|
||||
printf "\nServer URL:\n\n https://%s/\n\nInitial admin password:\n\n %s\n\n" "${PUBLIC_IP}" "${ADMIN_PASSWORD}"
|
||||
printf "\nPhotoprism is now installed and running. For documentation, visit:\n\n https://docs.photoprism.app/\n\n"
|
||||
Loading…
Add table
Add a link
Reference in a new issue