Config: Change mysqld defaults #357

Signed-off-by: Michael Mayer <michael@liquidbytes.net>
This commit is contained in:
Michael Mayer 2020-07-01 18:55:42 +02:00
parent aae3a4af2d
commit abe9d16340
3 changed files with 3 additions and 3 deletions

View file

@ -56,7 +56,7 @@ services:
photoprism-db: photoprism-db:
image: mariadb:10.5 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: expose:
- "4001" - "4001"
volumes: volumes:

View file

@ -64,7 +64,7 @@ services:
photoprism-db: photoprism-db:
image: mariadb:10.5 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: expose:
- "4001" - "4001"
ports: ports:

View file

@ -53,7 +53,7 @@ services:
# photoprism-db: # Uncomment, if you want to use MariaDB instead of SQLite # photoprism-db: # Uncomment, if you want to use MariaDB instead of SQLite
# image: mariadb:10.5 # Alternatively mysql:8.0 # image: mariadb:10.5 # Alternatively mysql:8.0
# restart: unless-stopped # 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: # volumes:
# - "photoprism-database:/var/lib/mysql" # - "photoprism-database:/var/lib/mysql"
# environment: # environment: