Config: Improve docker-compose.yml examples

Signed-off-by: Michael Mayer <michael@liquidbytes.net>
This commit is contained in:
Michael Mayer
2021-01-02 05:28:54 +01:00
parent 7d82f0364d
commit cb7e90dafc
6 changed files with 41 additions and 37 deletions

View File

@@ -11,9 +11,9 @@ version: '3.5'
# ------------------------------------------------------------------
# DOCKER COMPOSE COMMAND REFERENCE
# ------------------------------------------------------------------
# Update | docker-compose pull photoprism
# Stop | docker-compose stop photoprism
# Start | docker-compose up -d photoprism
# Stop | docker-compose stop photoprism
# Update | docker-compose pull photoprism
# Logs | docker-compose logs --tail=25 -f
# Terminal | docker-compose exec photoprism bash
# Help | docker-compose exec photoprism photoprism help
@@ -25,8 +25,8 @@ version: '3.5'
# 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.
# Note: All commands may have to be prefixed with "sudo" when not running as root.
# This will change the home directory "~" to "/root" in your configuration.
services:
photoprism: