Rename PhotoPrism example files and move resource limits to env file for project consistency.
This commit is contained in:
@@ -121,8 +121,8 @@ services:
|
|||||||
mode: global
|
mode: global
|
||||||
resources:
|
resources:
|
||||||
limits:
|
limits:
|
||||||
cpus: '2.00'
|
cpus: $CPU
|
||||||
memory: 2G
|
memory: $MEM
|
||||||
|
|
||||||
## Database Server (recommended)
|
## Database Server (recommended)
|
||||||
## see https://docs.photoprism.app/getting-started/faq/#should-i-use-sqlite-mariadb-or-mysql
|
## see https://docs.photoprism.app/getting-started/faq/#should-i-use-sqlite-mariadb-or-mysql
|
||||||
@@ -152,8 +152,8 @@ services:
|
|||||||
mode: global
|
mode: global
|
||||||
resources:
|
resources:
|
||||||
limits:
|
limits:
|
||||||
cpus: '0.50'
|
cpus: $CPU_DB
|
||||||
memory: 512M
|
memory: $MEM_DB
|
||||||
|
|
||||||
# Configured but not using this, would prefer to update manually, and the
|
# Configured but not using this, would prefer to update manually, and the
|
||||||
# volume needs also seem sort of odd. Do not want it to harm other projects.
|
# volume needs also seem sort of odd. Do not want it to harm other projects.
|
||||||
@@ -1,3 +1,10 @@
|
|||||||
|
# This file will need to be copied as `.env`.
|
||||||
|
|
||||||
|
##
|
||||||
|
# Docker
|
||||||
|
##
|
||||||
|
|
||||||
|
COMPOSE_BAKE=true
|
||||||
|
|
||||||
##
|
##
|
||||||
# PhotoPrism
|
# PhotoPrism
|
||||||
@@ -38,3 +45,12 @@ MARIADB_DATABASE = "photoprism"
|
|||||||
MARIADB_USER = "photoprism"
|
MARIADB_USER = "photoprism"
|
||||||
MARIADB_PASSWORD = "PleaseChangeMe"
|
MARIADB_PASSWORD = "PleaseChangeMe"
|
||||||
MARIADB_ROOT_PASSWORD = "PleaseChangeMe"
|
MARIADB_ROOT_PASSWORD = "PleaseChangeMe"
|
||||||
|
|
||||||
|
##
|
||||||
|
# Performance
|
||||||
|
##
|
||||||
|
|
||||||
|
CPU=2.00
|
||||||
|
MEM=2.00G
|
||||||
|
CPU_DB=0.50
|
||||||
|
MEM_DB=0.50G
|
||||||
Reference in New Issue
Block a user