Config: Change mysqld defaults #357
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
This commit is contained in:
parent
aae3a4af2d
commit
abe9d16340
3 changed files with 3 additions and 3 deletions
|
@ -56,7 +56,7 @@ services:
|
|||
|
||||
photoprism-db:
|
||||
image: mariadb:10.5
|
||||
command: mysqld --port=4001 --character-set-server=utf8mb4 --collation-server=utf8mb4_unicode_ci --max-connections=1024 --innodb-rollback-on-timeout=ON --innodb-lock-wait-timeout=120
|
||||
command: mysqld --port=4001 --character-set-server=utf8mb4 --collation-server=utf8mb4_unicode_ci --max-connections=1024 --innodb-rollback-on-timeout=OFF --innodb-lock-wait-timeout=50
|
||||
expose:
|
||||
- "4001"
|
||||
volumes:
|
||||
|
|
|
@ -64,7 +64,7 @@ services:
|
|||
|
||||
photoprism-db:
|
||||
image: mariadb:10.5
|
||||
command: mysqld --port=4001 --character-set-server=utf8mb4 --collation-server=utf8mb4_unicode_ci --max-connections=1024 --innodb-rollback-on-timeout=ON --innodb-lock-wait-timeout=120
|
||||
command: mysqld --port=4001 --character-set-server=utf8mb4 --collation-server=utf8mb4_unicode_ci --max-connections=1024 --innodb-rollback-on-timeout=OFF --innodb-lock-wait-timeout=50
|
||||
expose:
|
||||
- "4001"
|
||||
ports:
|
||||
|
|
|
@ -53,7 +53,7 @@ services:
|
|||
# photoprism-db: # Uncomment, if you want to use MariaDB instead of SQLite
|
||||
# image: mariadb:10.5 # Alternatively mysql:8.0
|
||||
# restart: unless-stopped
|
||||
# command: mysqld --character-set-server=utf8mb4 --collation-server=utf8mb4_unicode_ci --max-connections=1024 --innodb-rollback-on-timeout=ON --innodb-lock-wait-timeout=120
|
||||
# command: mysqld --character-set-server=utf8mb4 --collation-server=utf8mb4_unicode_ci --max-connections=1024 --innodb-rollback-on-timeout=OFF --innodb-lock-wait-timeout=50
|
||||
# volumes:
|
||||
# - "photoprism-database:/var/lib/mysql"
|
||||
# environment:
|
||||
|
|
Loading…
Reference in a new issue