Docker: Update docker-compose.yml examples #1680

This commit is contained in:
Michael Mayer 2021-12-08 10:46:19 +01:00
parent a94f5f3510
commit de1cd4d430
7 changed files with 7 additions and 7 deletions

View file

@ -119,7 +119,7 @@ services:
- seccomp:unconfined
- apparmor:unconfined
command: mysqld --transaction-isolation=READ-COMMITTED --character-set-server=utf8mb4 --collation-server=utf8mb4_unicode_ci --max-connections=512 --innodb-rollback-on-timeout=OFF --innodb-lock-wait-timeout=120
## Never store database files on a shared network drive or open them with two server instances at the same time:
## Never store database files on an unreliable device such as a USB flash drive or a shared network folder:
volumes:
- "./database:/var/lib/mysql" # Important, don't remove
environment:

View file

@ -117,7 +117,7 @@ services:
- seccomp:unconfined
- apparmor:unconfined
command: mysqld --transaction-isolation=READ-COMMITTED --character-set-server=utf8mb4 --collation-server=utf8mb4_unicode_ci --max-connections=512 --innodb-rollback-on-timeout=OFF --innodb-lock-wait-timeout=120
## Never store database files on a shared network drive or open them with two server instances at the same time:
## Never store database files on an unreliable device such as a USB flash drive or a shared network folder:
volumes:
- "./mariadb:/config" # Important, don't remove
environment:

View file

@ -195,7 +195,7 @@ services:
- seccomp:unconfined
- apparmor:unconfined
command: mysqld --transaction-isolation=READ-COMMITTED --character-set-server=utf8mb4 --collation-server=utf8mb4_unicode_ci --max-connections=512 --innodb-rollback-on-timeout=OFF --innodb-lock-wait-timeout=120
## Never store database files on a shared network drive or open them with two server instances at the same time:
## Never store database files on an unreliable device such as a USB flash drive or a shared network folder:
volumes:
- "./database:/var/lib/mysql" # Important, don't remove
environment:

View file

@ -120,7 +120,7 @@ services:
- seccomp:unconfined
- apparmor:unconfined
command: mysqld --transaction-isolation=READ-COMMITTED --character-set-server=utf8mb4 --collation-server=utf8mb4_unicode_ci --max-connections=512 --innodb-rollback-on-timeout=OFF --innodb-lock-wait-timeout=120
## Never store database files on a shared network drive or open them with two server instances at the same time:
## Never store database files on an unreliable device such as a USB flash drive or a shared network folder:
volumes:
- "./database:/var/lib/mysql" # Important, don't remove
environment:

View file

@ -100,7 +100,7 @@ services:
## --lower-case-table-names=1 stores tables in lowercase and compares names in a case-insensitive manner
## see https://mariadb.com/kb/en/server-system-variables/#lower_case_table_names
command: mysqld --lower-case-table-names=1 --transaction-isolation=READ-COMMITTED --character-set-server=utf8mb4 --collation-server=utf8mb4_unicode_ci --max-connections=512 --innodb-rollback-on-timeout=OFF --innodb-lock-wait-timeout=120
## Never store database files on a shared network drive or open them with two server instances at the same time:
## Never store database files on an unreliable device such as a USB flash drive or a shared network folder:
volumes:
- "mariadb_data:/var/lib/mysql" # Important, don't remove
environment:

View file

@ -112,7 +112,7 @@ services:
- seccomp:unconfined
- apparmor:unconfined
command: mysqld --transaction-isolation=READ-COMMITTED --character-set-server=utf8mb4 --collation-server=utf8mb4_unicode_ci --max-connections=512 --innodb-rollback-on-timeout=OFF --innodb-lock-wait-timeout=120
## Never store database files on a shared network drive or open them with two server instances at the same time:
## Never store database files on an unreliable device such as a USB flash drive or a shared network folder:
volumes:
- "./database:/var/lib/mysql" # Important, don't remove
environment:

View file

@ -104,7 +104,7 @@ services:
## --lower-case-table-names=1 stores tables in lowercase and compares names in a case-insensitive manner
## see https://mariadb.com/kb/en/server-system-variables/#lower_case_table_names
command: mysqld --lower-case-table-names=1 --transaction-isolation=READ-COMMITTED --character-set-server=utf8mb4 --collation-server=utf8mb4_unicode_ci --max-connections=512 --innodb-rollback-on-timeout=OFF --innodb-lock-wait-timeout=120
## Never store database files on a shared network drive or open them with two server instances at the same time:
## Never store database files on an unreliable device such as a USB flash drive or a shared network folder:
volumes:
- "mariadb_data:/var/lib/mysql" # Important, don't remove; named volume "mariadb_data" is defined at the bottom
environment: