Docker: Shorten inline docs in docker-compose.yml examples

This commit is contained in:
Michael Mayer 2021-10-23 14:30:05 +02:00
parent 51d3c9ebd0
commit eb146d81ec
8 changed files with 16 additions and 31 deletions

View file

@ -109,8 +109,7 @@ services:
# Cache, session, thumbnail, and sidecar files will be created in the *storage* folder (never remove):
- "./storage:/photoprism/storage"
# RECOMMENDED: MariaDB Server, a MySQL-compatible Database
# see https://docs.photoprism.org/getting-started/faq/#should-i-use-sqlite-mariadb-or-mysql
# RECOMMENDED: MariaDB Server, see https://docs.photoprism.org/getting-started/faq/#should-i-use-sqlite-mariadb-or-mysql
mariadb:
restart: unless-stopped
image: arm64v8/mariadb:10.6
@ -145,8 +144,7 @@ services:
# MYSQL_USER: photoprism
# MYSQL_PASSWORD: insecure
# OPTIONAL: Upgrades services automatically, whenever there is a new Docker image available.
# see https://docs.photoprism.org/getting-started/updates/#watchtower
# OPTIONAL: Upgrades services automatically, see https://docs.photoprism.org/getting-started/updates/#watchtower
#
# watchtower:
# restart: unless-stopped

View file

@ -104,8 +104,7 @@ services:
# Cache, session, thumbnail, and sidecar files will be created in the *storage* folder (never remove):
- "./storage:/photoprism/storage"
# RECOMMENDED: MariaDB Server, a MySQL-compatible Database
# see https://docs.photoprism.org/getting-started/faq/#should-i-use-sqlite-mariadb-or-mysql
# RECOMMENDED: MariaDB Server, see https://docs.photoprism.org/getting-started/faq/#should-i-use-sqlite-mariadb-or-mysql
mariadb:
restart: unless-stopped
image: lscr.io/linuxserver/mariadb:latest
@ -121,8 +120,7 @@ services:
MYSQL_USER: photoprism
MYSQL_PASSWORD: insecure
# OPTIONAL: Upgrades services automatically, whenever there is a new Docker image available.
# see https://docs.photoprism.org/getting-started/updates/#watchtower
# OPTIONAL: Upgrades services automatically, see https://docs.photoprism.org/getting-started/updates/#watchtower
#
# watchtower:
# restart: unless-stopped

View file

@ -164,7 +164,7 @@ services:
- "./storage:/photoprism/storage"
- "./backup:/var/lib/photoprism"
# REQUIRED: Traefik Reverse Proxy
# REQUIRED: Traefik Reverse Proxy, see https://docs.photoprism.org/getting-started/proxies/traefik/
traefik:
restart: always
image: traefik:v2.4
@ -181,8 +181,7 @@ services:
- "./traefik.yaml:/etc/traefik/traefik.yaml"
- "./certs/:/certs/"
# RECOMMENDED: MariaDB Server, a MySQL-compatible Database
# see https://docs.photoprism.org/getting-started/faq/#should-i-use-sqlite-mariadb-or-mysql
# RECOMMENDED: MariaDB Server, see https://docs.photoprism.org/getting-started/faq/#should-i-use-sqlite-mariadb-or-mysql
mariadb:
restart: always
image: mariadb:10.6
@ -208,8 +207,7 @@ services:
- "/var/run/docker.sock:/var/run/docker.sock:ro"
- "./jobs.ini:/etc/ofelia/config.ini"
# OPTIONAL: Upgrades services automatically, whenever there is a new Docker image available.
# see https://docs.photoprism.org/getting-started/updates/#watchtower
# OPTIONAL: Upgrades services automatically, see https://docs.photoprism.org/getting-started/updates/#watchtower
watchtower:
restart: always
image: containrrr/watchtower

View file

@ -109,8 +109,7 @@ services:
# Cache, session, thumbnail, and sidecar files will be created in the *storage* folder (never remove):
- "./storage:/photoprism/storage"
# RECOMMENDED: MariaDB Server, a MySQL-compatible Database
# see https://docs.photoprism.org/getting-started/faq/#should-i-use-sqlite-mariadb-or-mysql
# RECOMMENDED: MariaDB Server, see https://docs.photoprism.org/getting-started/faq/#should-i-use-sqlite-mariadb-or-mysql
mariadb:
restart: unless-stopped
image: mariadb:10.6
@ -126,8 +125,7 @@ services:
MYSQL_USER: photoprism
MYSQL_PASSWORD: insecure
# OPTIONAL: Upgrades services automatically, whenever there is a new Docker image available.
# see https://docs.photoprism.org/getting-started/updates/#watchtower
# OPTIONAL: Upgrades services automatically, see https://docs.photoprism.org/getting-started/updates/#watchtower
#
# watchtower:
# restart: unless-stopped

View file

@ -87,8 +87,7 @@ services:
# Cache, session, thumbnail, and sidecar files will be created in the *storage* folder (never remove):
- "./storage:/photoprism/storage"
# RECOMMENDED: MariaDB Server, a MySQL-compatible Database
# see https://docs.photoprism.org/getting-started/faq/#should-i-use-sqlite-mariadb-or-mysql
# RECOMMENDED: MariaDB Server, see https://docs.photoprism.org/getting-started/faq/#should-i-use-sqlite-mariadb-or-mysqll
mariadb:
restart: unless-stopped
image: mariadb:10.6
@ -104,8 +103,7 @@ services:
MYSQL_USER: photoprism
MYSQL_PASSWORD: insecure
# OPTIONAL: Upgrades services automatically, whenever there is a new Docker image available.
# see https://docs.photoprism.org/getting-started/updates/#watchtower
# OPTIONAL: Upgrades services automatically, see https://docs.photoprism.org/getting-started/updates/#watchtower
#
# watchtower:
# restart: unless-stopped

View file

@ -101,8 +101,7 @@ services:
# Cache, session, thumbnail, and sidecar files will be created in the *storage* folder (never remove):
- "./storage:/photoprism/storage"
# RECOMMENDED: MariaDB Server, a MySQL-compatible Database
# see https://docs.photoprism.org/getting-started/faq/#should-i-use-sqlite-mariadb-or-mysql
# RECOMMENDED: MariaDB Server, see https://docs.photoprism.org/getting-started/faq/#should-i-use-sqlite-mariadb-or-mysql
mariadb:
restart: unless-stopped
image: mariadb:10.6
@ -128,8 +127,7 @@ services:
- "/var/run/docker.sock:/var/run/docker.sock:ro"
- "./jobs.ini:/etc/ofelia/config.ini"
# OPTIONAL: Upgrades services automatically, whenever there is a new Docker image available.
# see https://docs.photoprism.org/getting-started/updates/#watchtower
# OPTIONAL: Upgrades services automatically, see https://docs.photoprism.org/getting-started/updates/#watchtower
#
# watchtower:
# restart: unless-stopped

View file

@ -91,8 +91,7 @@ services:
# Cache, session, thumbnail, and sidecar files will be created in the *storage* folder (never remove):
- "./storage:/photoprism/storage"
# OPTIONAL: Upgrades services automatically, whenever there is a new Docker image available.
# see https://docs.photoprism.org/getting-started/updates/#watchtower
# OPTIONAL: Upgrades services automatically, see https://docs.photoprism.org/getting-started/updates/#watchtower
#
# watchtower:
# restart: unless-stopped

View file

@ -89,8 +89,7 @@ services:
# Cache, session, thumbnail, and sidecar files will be created in the *storage* folder (never remove):
- "./storage:/photoprism/storage"
# RECOMMENDED: MariaDB Server, a MySQL-compatible Database
# see https://docs.photoprism.org/getting-started/faq/#should-i-use-sqlite-mariadb-or-mysql
# RECOMMENDED: MariaDB Server, see https://docs.photoprism.org/getting-started/faq/#should-i-use-sqlite-mariadb-or-mysql
mariadb:
restart: unless-stopped
image: mariadb:10.6
@ -106,8 +105,7 @@ services:
MYSQL_USER: photoprism
MYSQL_PASSWORD: insecure
# OPTIONAL: Upgrades services automatically, whenever there is a new Docker image available.
# see https://docs.photoprism.org/getting-started/updates/#watchtower
# OPTIONAL: Upgrades services automatically, see https://docs.photoprism.org/getting-started/updates/#watchtower
#
# watchtower:
# restart: unless-stopped