Config: Update docker-compose.yml examples

This commit is contained in:
Michael Mayer 2021-01-01 19:54:04 +01:00
parent 3466526d56
commit 0e4c458b90
6 changed files with 104 additions and 47 deletions

View file

@ -25,13 +25,24 @@ Our repository on Docker Hub: https://hub.docker.com/r/photoprism/photoprism-arm
## Docker Compose Command Reference ## ## Docker Compose Command Reference ##
Update: sudo docker-compose pull photoprism Please prefix with `sudo` if your current user doesn't have permission
Stop: sudo docker-compose stop photoprism to run Docker commands:
Start: sudo docker-compose up -d photoprism
Logs: sudo docker-compose logs --tail=20 | Action | Command |
Terminal: sudo docker-compose exec photoprism bash |----------|-----------------------------------------------------------|
Help: sudo docker-compose exec photoprism photoprism help | Update | `docker-compose pull photoprism` |
Config: sudo docker-compose exec photoprism photoprism config | Stop | `docker-compose stop photoprism` |
| Start | `docker-compose up -d photoprism` |
| Logs | `docker-compose logs --tail=25 -f` |
| Terminal | `docker-compose exec photoprism bash` |
| Help | `docker-compose exec photoprism photoprism help` |
| Config | `docker-compose exec photoprism photoprism config` |
| Reset | `docker-compose exec photoprism photoprism reset` |
| Backup | `docker-compose exec photoprism photoprism backup -a -i` |
| Restore | `docker-compose exec photoprism photoprism restore -a -i` |
| Import | `docker-compose exec photoprism photoprism import` |
| Index | `docker-compose exec photoprism photoprism index` |
| Reindex | `docker-compose exec photoprism photoprism index -a` |
## System Requirements ## ## System Requirements ##

View file

@ -8,15 +8,25 @@ version: '3.5'
# Please run behind a reverse proxy like Caddy, Traefik or Nginx if you need HTTPS / SSL support # Please run behind a reverse proxy like Caddy, Traefik or Nginx if you need HTTPS / SSL support
# e.g. when running PhotoPrism on a public server outside your home network. # e.g. when running PhotoPrism on a public server outside your home network.
# #
# -------------------------------------------------------------------
# DOCKER COMPOSE COMMAND REFERENCE # DOCKER COMPOSE COMMAND REFERENCE
# --------------------------------------------------------------- # -------------------------------------------------------------------
# Update: sudo docker-compose pull photoprism # Update | docker-compose pull photoprism
# Stop: sudo docker-compose stop photoprism # Stop | docker-compose stop photoprism
# Start: sudo docker-compose up -d photoprism # Start | docker-compose up -d photoprism
# Logs: sudo docker-compose logs --tail=20 # Logs | docker-compose logs --tail=25 -f
# Terminal: sudo docker-compose exec photoprism bash # Terminal | docker-compose exec photoprism bash
# Help: sudo docker-compose exec photoprism photoprism help # Help | docker-compose exec photoprism photoprism help
# Config: sudo docker-compose exec photoprism photoprism config # Config | docker-compose exec photoprism photoprism config
# Reset | docker-compose exec photoprism photoprism reset
# Backup | docker-compose exec photoprism photoprism backup -a -i
# Restore | docker-compose exec photoprism photoprism restore -a -i
# Index | docker-compose exec photoprism photoprism index
# Reindex | docker-compose exec photoprism photoprism index -a
# Import | docker-compose exec photoprism photoprism import
# -------------------------------------------------------------------
# Note: Prefix with "sudo" if the current user doesn't have
# permission to run Docker commands.
services: services:
photoprism: photoprism:

View file

@ -8,15 +8,25 @@ version: '3.5'
# Please run behind a reverse proxy like Caddy, Traefik or Nginx if you need HTTPS / SSL support # Please run behind a reverse proxy like Caddy, Traefik or Nginx if you need HTTPS / SSL support
# e.g. when running PhotoPrism on a public server outside your home network. # e.g. when running PhotoPrism on a public server outside your home network.
# #
# ------------------------------------------------------------------
# DOCKER COMPOSE COMMAND REFERENCE # DOCKER COMPOSE COMMAND REFERENCE
# ---------------------------------------------------------- # ------------------------------------------------------------------
# Update: docker-compose pull photoprism # Update | docker-compose pull photoprism
# Stop: docker-compose stop photoprism # Stop | docker-compose stop photoprism
# Start: docker-compose up -d photoprism # Start | docker-compose up -d photoprism
# Logs: docker-compose logs --tail=20 # Logs | docker-compose logs --tail=25 -f
# Terminal: docker-compose exec photoprism bash # Terminal | docker-compose exec photoprism bash
# Help: docker-compose exec photoprism photoprism help # Help | docker-compose exec photoprism photoprism help
# Config: docker-compose exec photoprism photoprism config # Config | docker-compose exec photoprism photoprism config
# Reset | docker-compose exec photoprism photoprism reset
# Backup | docker-compose exec photoprism photoprism backup -a -i
# Restore | docker-compose exec photoprism photoprism restore -a -i
# Index | docker-compose exec photoprism photoprism index
# Reindex | docker-compose exec photoprism photoprism index -a
# Import | docker-compose exec photoprism photoprism import
# -------------------------------------------------------------------
# Note: Prefix with "sudo" if the current user doesn't have
# permission to run Docker commands.
services: services:
photoprism: photoprism:

View file

@ -8,15 +8,23 @@ version: '3.5'
# Please run behind a reverse proxy like Caddy, Traefik or Nginx if you need HTTPS / SSL support # Please run behind a reverse proxy like Caddy, Traefik or Nginx if you need HTTPS / SSL support
# e.g. when running PhotoPrism on a public server outside your home network. # e.g. when running PhotoPrism on a public server outside your home network.
# #
# ------------------------------------------------------------------
# DOCKER COMPOSE COMMAND REFERENCE # DOCKER COMPOSE COMMAND REFERENCE
# ---------------------------------------------------------- # ------------------------------------------------------------------
# Update: docker-compose pull photoprism # Update | docker-compose pull photoprism
# Stop: docker-compose stop photoprism # Stop | docker-compose stop photoprism
# Start: docker-compose up -d photoprism # Start | docker-compose up -d photoprism
# Logs: docker-compose logs --tail=20 # Logs | docker-compose logs --tail=25 -f
# Terminal: docker-compose exec photoprism bash # Terminal | docker-compose exec photoprism bash
# Help: docker-compose exec photoprism photoprism help # Help | docker-compose exec photoprism photoprism help
# Config: docker-compose exec photoprism photoprism config # Config | docker-compose exec photoprism photoprism config
# Reset | docker-compose exec photoprism photoprism reset
# Backup | docker-compose exec photoprism photoprism backup -a -i
# Restore | docker-compose exec photoprism photoprism restore -a -i
# Index | docker-compose exec photoprism photoprism index
# Reindex | docker-compose exec photoprism photoprism index -a
# Import | docker-compose exec photoprism photoprism import
# -------------------------------------------------------------------
services: services:
photoprism: photoprism:

View file

@ -8,15 +8,25 @@ version: '3.5'
# Please run behind a reverse proxy like Caddy, Traefik or Nginx if you need HTTPS / SSL support # Please run behind a reverse proxy like Caddy, Traefik or Nginx if you need HTTPS / SSL support
# e.g. when running PhotoPrism on a public server outside your home network. # e.g. when running PhotoPrism on a public server outside your home network.
# #
# ------------------------------------------------------------------
# DOCKER COMPOSE COMMAND REFERENCE # DOCKER COMPOSE COMMAND REFERENCE
# ---------------------------------------------------------- # ------------------------------------------------------------------
# Update: docker-compose pull photoprism # Update | docker-compose pull photoprism
# Stop: docker-compose stop photoprism # Stop | docker-compose stop photoprism
# Start: docker-compose up -d photoprism # Start | docker-compose up -d photoprism
# Logs: docker-compose logs --tail=20 # Logs | docker-compose logs --tail=25 -f
# Terminal: docker-compose exec photoprism bash # Terminal | docker-compose exec photoprism bash
# Help: docker-compose exec photoprism photoprism help # Help | docker-compose exec photoprism photoprism help
# Config: docker-compose exec photoprism photoprism config # Config | docker-compose exec photoprism photoprism config
# Reset | docker-compose exec photoprism photoprism reset
# Backup | docker-compose exec photoprism photoprism backup -a -i
# Restore | docker-compose exec photoprism photoprism restore -a -i
# Index | docker-compose exec photoprism photoprism index
# Reindex | docker-compose exec photoprism photoprism index -a
# Import | docker-compose exec photoprism photoprism import
# -------------------------------------------------------------------
# Note: Prefix with "sudo" if the current user doesn't have
# permission to run Docker commands.
services: services:
photoprism: photoprism:

View file

@ -11,15 +11,23 @@ version: '3.5'
# Please run behind a reverse proxy like Caddy, Traefik or Nginx if you need HTTPS / SSL support # Please run behind a reverse proxy like Caddy, Traefik or Nginx if you need HTTPS / SSL support
# e.g. when running PhotoPrism on a public server outside your home network. # e.g. when running PhotoPrism on a public server outside your home network.
# #
# ------------------------------------------------------------------
# DOCKER COMPOSE COMMAND REFERENCE # DOCKER COMPOSE COMMAND REFERENCE
# ---------------------------------------------------------- # ------------------------------------------------------------------
# Update: docker-compose pull photoprism # Update | docker-compose pull photoprism
# Stop: docker-compose stop photoprism # Stop | docker-compose stop photoprism
# Start: docker-compose up -d photoprism # Start | docker-compose up -d photoprism
# Logs: docker-compose logs --tail=20 # Logs | docker-compose logs --tail=25 -f
# Terminal: docker-compose exec photoprism bash # Terminal | docker-compose exec photoprism bash
# Help: docker-compose exec photoprism photoprism help # Help | docker-compose exec photoprism photoprism help
# Config: docker-compose exec photoprism photoprism config # Config | docker-compose exec photoprism photoprism config
# Reset | docker-compose exec photoprism photoprism reset
# Backup | docker-compose exec photoprism photoprism backup -a -i
# Restore | docker-compose exec photoprism photoprism restore -a -i
# Index | docker-compose exec photoprism photoprism index
# Reindex | docker-compose exec photoprism photoprism index -a
# Import | docker-compose exec photoprism photoprism import
# -------------------------------------------------------------------
services: services:
photoprism: photoprism: