Docker: Shorten inline docs in docker-compose.yml examples
This commit is contained in:
parent
51d3c9ebd0
commit
eb146d81ec
|
@ -109,8 +109,7 @@ services:
|
||||||
# Cache, session, thumbnail, and sidecar files will be created in the *storage* folder (never remove):
|
# Cache, session, thumbnail, and sidecar files will be created in the *storage* folder (never remove):
|
||||||
- "./storage:/photoprism/storage"
|
- "./storage:/photoprism/storage"
|
||||||
|
|
||||||
# RECOMMENDED: MariaDB Server, a MySQL-compatible Database
|
# RECOMMENDED: MariaDB Server, see https://docs.photoprism.org/getting-started/faq/#should-i-use-sqlite-mariadb-or-mysql
|
||||||
# see https://docs.photoprism.org/getting-started/faq/#should-i-use-sqlite-mariadb-or-mysql
|
|
||||||
mariadb:
|
mariadb:
|
||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
image: arm64v8/mariadb:10.6
|
image: arm64v8/mariadb:10.6
|
||||||
|
@ -145,8 +144,7 @@ services:
|
||||||
# MYSQL_USER: photoprism
|
# MYSQL_USER: photoprism
|
||||||
# MYSQL_PASSWORD: insecure
|
# MYSQL_PASSWORD: insecure
|
||||||
|
|
||||||
# OPTIONAL: Upgrades services automatically, whenever there is a new Docker image available.
|
# OPTIONAL: Upgrades services automatically, see https://docs.photoprism.org/getting-started/updates/#watchtower
|
||||||
# see https://docs.photoprism.org/getting-started/updates/#watchtower
|
|
||||||
#
|
#
|
||||||
# watchtower:
|
# watchtower:
|
||||||
# restart: unless-stopped
|
# restart: unless-stopped
|
||||||
|
|
|
@ -104,8 +104,7 @@ services:
|
||||||
# Cache, session, thumbnail, and sidecar files will be created in the *storage* folder (never remove):
|
# Cache, session, thumbnail, and sidecar files will be created in the *storage* folder (never remove):
|
||||||
- "./storage:/photoprism/storage"
|
- "./storage:/photoprism/storage"
|
||||||
|
|
||||||
# RECOMMENDED: MariaDB Server, a MySQL-compatible Database
|
# RECOMMENDED: MariaDB Server, see https://docs.photoprism.org/getting-started/faq/#should-i-use-sqlite-mariadb-or-mysql
|
||||||
# see https://docs.photoprism.org/getting-started/faq/#should-i-use-sqlite-mariadb-or-mysql
|
|
||||||
mariadb:
|
mariadb:
|
||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
image: lscr.io/linuxserver/mariadb:latest
|
image: lscr.io/linuxserver/mariadb:latest
|
||||||
|
@ -121,8 +120,7 @@ services:
|
||||||
MYSQL_USER: photoprism
|
MYSQL_USER: photoprism
|
||||||
MYSQL_PASSWORD: insecure
|
MYSQL_PASSWORD: insecure
|
||||||
|
|
||||||
# OPTIONAL: Upgrades services automatically, whenever there is a new Docker image available.
|
# OPTIONAL: Upgrades services automatically, see https://docs.photoprism.org/getting-started/updates/#watchtower
|
||||||
# see https://docs.photoprism.org/getting-started/updates/#watchtower
|
|
||||||
#
|
#
|
||||||
# watchtower:
|
# watchtower:
|
||||||
# restart: unless-stopped
|
# restart: unless-stopped
|
||||||
|
|
|
@ -164,7 +164,7 @@ services:
|
||||||
- "./storage:/photoprism/storage"
|
- "./storage:/photoprism/storage"
|
||||||
- "./backup:/var/lib/photoprism"
|
- "./backup:/var/lib/photoprism"
|
||||||
|
|
||||||
# REQUIRED: Traefik Reverse Proxy
|
# REQUIRED: Traefik Reverse Proxy, see https://docs.photoprism.org/getting-started/proxies/traefik/
|
||||||
traefik:
|
traefik:
|
||||||
restart: always
|
restart: always
|
||||||
image: traefik:v2.4
|
image: traefik:v2.4
|
||||||
|
@ -181,8 +181,7 @@ services:
|
||||||
- "./traefik.yaml:/etc/traefik/traefik.yaml"
|
- "./traefik.yaml:/etc/traefik/traefik.yaml"
|
||||||
- "./certs/:/certs/"
|
- "./certs/:/certs/"
|
||||||
|
|
||||||
# RECOMMENDED: MariaDB Server, a MySQL-compatible Database
|
# RECOMMENDED: MariaDB Server, see https://docs.photoprism.org/getting-started/faq/#should-i-use-sqlite-mariadb-or-mysql
|
||||||
# see https://docs.photoprism.org/getting-started/faq/#should-i-use-sqlite-mariadb-or-mysql
|
|
||||||
mariadb:
|
mariadb:
|
||||||
restart: always
|
restart: always
|
||||||
image: mariadb:10.6
|
image: mariadb:10.6
|
||||||
|
@ -208,8 +207,7 @@ services:
|
||||||
- "/var/run/docker.sock:/var/run/docker.sock:ro"
|
- "/var/run/docker.sock:/var/run/docker.sock:ro"
|
||||||
- "./jobs.ini:/etc/ofelia/config.ini"
|
- "./jobs.ini:/etc/ofelia/config.ini"
|
||||||
|
|
||||||
# OPTIONAL: Upgrades services automatically, whenever there is a new Docker image available.
|
# OPTIONAL: Upgrades services automatically, see https://docs.photoprism.org/getting-started/updates/#watchtower
|
||||||
# see https://docs.photoprism.org/getting-started/updates/#watchtower
|
|
||||||
watchtower:
|
watchtower:
|
||||||
restart: always
|
restart: always
|
||||||
image: containrrr/watchtower
|
image: containrrr/watchtower
|
||||||
|
|
|
@ -109,8 +109,7 @@ services:
|
||||||
# Cache, session, thumbnail, and sidecar files will be created in the *storage* folder (never remove):
|
# Cache, session, thumbnail, and sidecar files will be created in the *storage* folder (never remove):
|
||||||
- "./storage:/photoprism/storage"
|
- "./storage:/photoprism/storage"
|
||||||
|
|
||||||
# RECOMMENDED: MariaDB Server, a MySQL-compatible Database
|
# RECOMMENDED: MariaDB Server, see https://docs.photoprism.org/getting-started/faq/#should-i-use-sqlite-mariadb-or-mysql
|
||||||
# see https://docs.photoprism.org/getting-started/faq/#should-i-use-sqlite-mariadb-or-mysql
|
|
||||||
mariadb:
|
mariadb:
|
||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
image: mariadb:10.6
|
image: mariadb:10.6
|
||||||
|
@ -126,8 +125,7 @@ services:
|
||||||
MYSQL_USER: photoprism
|
MYSQL_USER: photoprism
|
||||||
MYSQL_PASSWORD: insecure
|
MYSQL_PASSWORD: insecure
|
||||||
|
|
||||||
# OPTIONAL: Upgrades services automatically, whenever there is a new Docker image available.
|
# OPTIONAL: Upgrades services automatically, see https://docs.photoprism.org/getting-started/updates/#watchtower
|
||||||
# see https://docs.photoprism.org/getting-started/updates/#watchtower
|
|
||||||
#
|
#
|
||||||
# watchtower:
|
# watchtower:
|
||||||
# restart: unless-stopped
|
# restart: unless-stopped
|
||||||
|
|
|
@ -87,8 +87,7 @@ services:
|
||||||
# Cache, session, thumbnail, and sidecar files will be created in the *storage* folder (never remove):
|
# Cache, session, thumbnail, and sidecar files will be created in the *storage* folder (never remove):
|
||||||
- "./storage:/photoprism/storage"
|
- "./storage:/photoprism/storage"
|
||||||
|
|
||||||
# RECOMMENDED: MariaDB Server, a MySQL-compatible Database
|
# RECOMMENDED: MariaDB Server, see https://docs.photoprism.org/getting-started/faq/#should-i-use-sqlite-mariadb-or-mysqll
|
||||||
# see https://docs.photoprism.org/getting-started/faq/#should-i-use-sqlite-mariadb-or-mysql
|
|
||||||
mariadb:
|
mariadb:
|
||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
image: mariadb:10.6
|
image: mariadb:10.6
|
||||||
|
@ -104,8 +103,7 @@ services:
|
||||||
MYSQL_USER: photoprism
|
MYSQL_USER: photoprism
|
||||||
MYSQL_PASSWORD: insecure
|
MYSQL_PASSWORD: insecure
|
||||||
|
|
||||||
# OPTIONAL: Upgrades services automatically, whenever there is a new Docker image available.
|
# OPTIONAL: Upgrades services automatically, see https://docs.photoprism.org/getting-started/updates/#watchtower
|
||||||
# see https://docs.photoprism.org/getting-started/updates/#watchtower
|
|
||||||
#
|
#
|
||||||
# watchtower:
|
# watchtower:
|
||||||
# restart: unless-stopped
|
# restart: unless-stopped
|
||||||
|
|
|
@ -101,8 +101,7 @@ services:
|
||||||
# Cache, session, thumbnail, and sidecar files will be created in the *storage* folder (never remove):
|
# Cache, session, thumbnail, and sidecar files will be created in the *storage* folder (never remove):
|
||||||
- "./storage:/photoprism/storage"
|
- "./storage:/photoprism/storage"
|
||||||
|
|
||||||
# RECOMMENDED: MariaDB Server, a MySQL-compatible Database
|
# RECOMMENDED: MariaDB Server, see https://docs.photoprism.org/getting-started/faq/#should-i-use-sqlite-mariadb-or-mysql
|
||||||
# see https://docs.photoprism.org/getting-started/faq/#should-i-use-sqlite-mariadb-or-mysql
|
|
||||||
mariadb:
|
mariadb:
|
||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
image: mariadb:10.6
|
image: mariadb:10.6
|
||||||
|
@ -128,8 +127,7 @@ services:
|
||||||
- "/var/run/docker.sock:/var/run/docker.sock:ro"
|
- "/var/run/docker.sock:/var/run/docker.sock:ro"
|
||||||
- "./jobs.ini:/etc/ofelia/config.ini"
|
- "./jobs.ini:/etc/ofelia/config.ini"
|
||||||
|
|
||||||
# OPTIONAL: Upgrades services automatically, whenever there is a new Docker image available.
|
# OPTIONAL: Upgrades services automatically, see https://docs.photoprism.org/getting-started/updates/#watchtower
|
||||||
# see https://docs.photoprism.org/getting-started/updates/#watchtower
|
|
||||||
#
|
#
|
||||||
# watchtower:
|
# watchtower:
|
||||||
# restart: unless-stopped
|
# restart: unless-stopped
|
||||||
|
|
|
@ -91,8 +91,7 @@ services:
|
||||||
# Cache, session, thumbnail, and sidecar files will be created in the *storage* folder (never remove):
|
# Cache, session, thumbnail, and sidecar files will be created in the *storage* folder (never remove):
|
||||||
- "./storage:/photoprism/storage"
|
- "./storage:/photoprism/storage"
|
||||||
|
|
||||||
# OPTIONAL: Upgrades services automatically, whenever there is a new Docker image available.
|
# OPTIONAL: Upgrades services automatically, see https://docs.photoprism.org/getting-started/updates/#watchtower
|
||||||
# see https://docs.photoprism.org/getting-started/updates/#watchtower
|
|
||||||
#
|
#
|
||||||
# watchtower:
|
# watchtower:
|
||||||
# restart: unless-stopped
|
# restart: unless-stopped
|
||||||
|
|
|
@ -89,8 +89,7 @@ services:
|
||||||
# Cache, session, thumbnail, and sidecar files will be created in the *storage* folder (never remove):
|
# Cache, session, thumbnail, and sidecar files will be created in the *storage* folder (never remove):
|
||||||
- "./storage:/photoprism/storage"
|
- "./storage:/photoprism/storage"
|
||||||
|
|
||||||
# RECOMMENDED: MariaDB Server, a MySQL-compatible Database
|
# RECOMMENDED: MariaDB Server, see https://docs.photoprism.org/getting-started/faq/#should-i-use-sqlite-mariadb-or-mysql
|
||||||
# see https://docs.photoprism.org/getting-started/faq/#should-i-use-sqlite-mariadb-or-mysql
|
|
||||||
mariadb:
|
mariadb:
|
||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
image: mariadb:10.6
|
image: mariadb:10.6
|
||||||
|
@ -106,8 +105,7 @@ services:
|
||||||
MYSQL_USER: photoprism
|
MYSQL_USER: photoprism
|
||||||
MYSQL_PASSWORD: insecure
|
MYSQL_PASSWORD: insecure
|
||||||
|
|
||||||
# OPTIONAL: Upgrades services automatically, whenever there is a new Docker image available.
|
# OPTIONAL: Upgrades services automatically, see https://docs.photoprism.org/getting-started/updates/#watchtower
|
||||||
# see https://docs.photoprism.org/getting-started/updates/#watchtower
|
|
||||||
#
|
#
|
||||||
# watchtower:
|
# watchtower:
|
||||||
# restart: unless-stopped
|
# restart: unless-stopped
|
||||||
|
|
Loading…
Reference in a new issue