Use custom Dockerfile instead of mounted config
Signed-off-by: Tilo Spannagel <development@tilosp.de>
This commit is contained in:
parent
8c86333de9
commit
b2e04519ed
@ -0,0 +1,4 @@
|
||||
FROM mariadb
|
||||
#FROM mysql
|
||||
|
||||
COPY transaction-isolation.conf /etc/mysql/conf.d/transaction-isolation.conf
|
@ -1,5 +1,5 @@
|
||||
[mysqld]
|
||||
# Set Transaction isolation Level to READ-COMMITED (Required by nextcloud)
|
||||
# ================================================
|
||||
# https://docs.nextcloud.com/server/12/admin_manual/configuration_database/linux_database_configuration.html#database-read-commited-transaction-isolation-level
|
||||
# https://docs.nextcloud.com/server/13/admin_manual/configuration_database/linux_database_configuration.html#database-read-commited-transaction-isolation-level
|
||||
transaction-isolation = READ-COMMITTED
|
@ -2,12 +2,10 @@ version: '3'
|
||||
|
||||
services:
|
||||
db:
|
||||
image: mariadb
|
||||
# image: mysql
|
||||
build: ./db
|
||||
restart: always
|
||||
volumes:
|
||||
- db:/var/lib/mysql
|
||||
- ./mysql.conf:/etc/mysql/conf.d/mysql-config.cnf
|
||||
environment:
|
||||
- MYSQL_ROOT_PASSWORD=
|
||||
env_file:
|
||||
|
@ -0,0 +1,4 @@
|
||||
FROM mariadb
|
||||
#FROM mysql
|
||||
|
||||
COPY transaction-isolation.conf /etc/mysql/conf.d/transaction-isolation.conf
|
@ -1,5 +1,5 @@
|
||||
[mysqld]
|
||||
# Set Transaction isolation Level to READ-COMMITED (Required by nextcloud)
|
||||
# ================================================
|
||||
# https://docs.nextcloud.com/server/12/admin_manual/configuration_database/linux_database_configuration.html#database-read-commited-transaction-isolation-level
|
||||
# https://docs.nextcloud.com/server/13/admin_manual/configuration_database/linux_database_configuration.html#database-read-commited-transaction-isolation-level
|
||||
transaction-isolation = READ-COMMITTED
|
@ -2,12 +2,10 @@ version: '3'
|
||||
|
||||
services:
|
||||
db:
|
||||
image: mariadb
|
||||
# image: mysql
|
||||
build: ./db
|
||||
restart: always
|
||||
volumes:
|
||||
- db:/var/lib/mysql
|
||||
- ./mysql.conf:/etc/mysql/conf.d/mysql-config.cnf
|
||||
environment:
|
||||
- MYSQL_ROOT_PASSWORD=
|
||||
env_file:
|
||||
|
@ -0,0 +1,4 @@
|
||||
FROM mariadb
|
||||
#FROM mysql
|
||||
|
||||
COPY transaction-isolation.conf /etc/mysql/conf.d/transaction-isolation.conf
|
@ -1,5 +1,5 @@
|
||||
[mysqld]
|
||||
# Set Transaction isolation Level to READ-COMMITED (Required by nextcloud)
|
||||
# ================================================
|
||||
# https://docs.nextcloud.com/server/12/admin_manual/configuration_database/linux_database_configuration.html#database-read-commited-transaction-isolation-level
|
||||
# https://docs.nextcloud.com/server/13/admin_manual/configuration_database/linux_database_configuration.html#database-read-commited-transaction-isolation-level
|
||||
transaction-isolation = READ-COMMITTED
|
@ -2,12 +2,10 @@ version: '3'
|
||||
|
||||
services:
|
||||
db:
|
||||
image: mariadb
|
||||
# image: mysql
|
||||
build: ./db
|
||||
restart: always
|
||||
volumes:
|
||||
- db:/var/lib/mysql
|
||||
- ./mysql.conf:/etc/mysql/conf.d/mysql-config.cnf
|
||||
environment:
|
||||
- MYSQL_ROOT_PASSWORD=
|
||||
env_file:
|
||||
|
@ -0,0 +1,4 @@
|
||||
FROM mariadb
|
||||
#FROM mysql
|
||||
|
||||
COPY transaction-isolation.conf /etc/mysql/conf.d/transaction-isolation.conf
|
@ -1,5 +1,5 @@
|
||||
[mysqld]
|
||||
# Set Transaction isolation Level to READ-COMMITED (Required by nextcloud)
|
||||
# ================================================
|
||||
# https://docs.nextcloud.com/server/12/admin_manual/configuration_database/linux_database_configuration.html#database-read-commited-transaction-isolation-level
|
||||
# https://docs.nextcloud.com/server/13/admin_manual/configuration_database/linux_database_configuration.html#database-read-commited-transaction-isolation-level
|
||||
transaction-isolation = READ-COMMITTED
|
@ -2,12 +2,10 @@ version: '3'
|
||||
|
||||
services:
|
||||
db:
|
||||
image: mariadb
|
||||
# image: mysql
|
||||
build: ./db
|
||||
restart: always
|
||||
volumes:
|
||||
- db:/var/lib/mysql
|
||||
- ./mysql.conf:/etc/mysql/conf.d/mysql-config.cnf
|
||||
environment:
|
||||
- MYSQL_ROOT_PASSWORD=
|
||||
env_file:
|
||||
|
@ -0,0 +1,4 @@
|
||||
FROM mariadb
|
||||
#FROM mysql
|
||||
|
||||
COPY transaction-isolation.conf /etc/mysql/conf.d/transaction-isolation.conf
|
@ -0,0 +1,5 @@
|
||||
[mysqld]
|
||||
# Set Transaction isolation Level to READ-COMMITED (Required by nextcloud)
|
||||
# ================================================
|
||||
# https://docs.nextcloud.com/server/13/admin_manual/configuration_database/linux_database_configuration.html#database-read-commited-transaction-isolation-level
|
||||
transaction-isolation = READ-COMMITTED
|
@ -2,12 +2,10 @@ version: '3'
|
||||
|
||||
services:
|
||||
db:
|
||||
image: mariadb
|
||||
# image: mysql
|
||||
build: ./db
|
||||
restart: always
|
||||
volumes:
|
||||
- db:/var/lib/mysql
|
||||
- ./mysql.conf:/etc/mysql/conf.d/mysql-config.cnf
|
||||
environment:
|
||||
- MYSQL_ROOT_PASSWORD=
|
||||
env_file:
|
||||
|
@ -1,5 +0,0 @@
|
||||
[mysqld]
|
||||
# Set Transaction isolation Level to READ-COMMITED (Required by nextcloud)
|
||||
# ================================================
|
||||
# https://docs.nextcloud.com/server/12/admin_manual/configuration_database/linux_database_configuration.html#database-read-commited-transaction-isolation-level
|
||||
transaction-isolation = READ-COMMITTED
|
@ -0,0 +1,4 @@
|
||||
FROM mariadb
|
||||
#FROM mysql
|
||||
|
||||
COPY transaction-isolation.conf /etc/mysql/conf.d/transaction-isolation.conf
|
@ -0,0 +1,5 @@
|
||||
[mysqld]
|
||||
# Set Transaction isolation Level to READ-COMMITED (Required by nextcloud)
|
||||
# ================================================
|
||||
# https://docs.nextcloud.com/server/13/admin_manual/configuration_database/linux_database_configuration.html#database-read-commited-transaction-isolation-level
|
||||
transaction-isolation = READ-COMMITTED
|
@ -2,12 +2,10 @@ version: '3'
|
||||
|
||||
services:
|
||||
db:
|
||||
image: mariadb
|
||||
# image: mysql
|
||||
build: ./db
|
||||
restart: always
|
||||
volumes:
|
||||
- db:/var/lib/mysql
|
||||
- ./mysql.conf:/etc/mysql/conf.d/mysql-config.cnf
|
||||
environment:
|
||||
- MYSQL_ROOT_PASSWORD=
|
||||
env_file:
|
||||
|
@ -1,5 +0,0 @@
|
||||
[mysqld]
|
||||
# Set Transaction isolation Level to READ-COMMITED (Required by nextcloud)
|
||||
# ================================================
|
||||
# https://docs.nextcloud.com/server/12/admin_manual/configuration_database/linux_database_configuration.html#database-read-commited-transaction-isolation-level
|
||||
transaction-isolation = READ-COMMITTED
|
@ -0,0 +1,4 @@
|
||||
FROM mariadb
|
||||
#FROM mysql
|
||||
|
||||
COPY transaction-isolation.conf /etc/mysql/conf.d/transaction-isolation.conf
|
@ -0,0 +1,5 @@
|
||||
[mysqld]
|
||||
# Set Transaction isolation Level to READ-COMMITED (Required by nextcloud)
|
||||
# ================================================
|
||||
# https://docs.nextcloud.com/server/13/admin_manual/configuration_database/linux_database_configuration.html#database-read-commited-transaction-isolation-level
|
||||
transaction-isolation = READ-COMMITTED
|
@ -2,12 +2,10 @@ version: '3'
|
||||
|
||||
services:
|
||||
db:
|
||||
image: mariadb
|
||||
# image: mysql
|
||||
build: ./db
|
||||
restart: always
|
||||
volumes:
|
||||
- db:/var/lib/mysql
|
||||
- ./mysql.conf:/etc/mysql/conf.d/mysql-config.cnf
|
||||
environment:
|
||||
- MYSQL_ROOT_PASSWORD=
|
||||
env_file:
|
||||
|
@ -1,5 +0,0 @@
|
||||
[mysqld]
|
||||
# Set Transaction isolation Level to READ-COMMITED (Required by nextcloud)
|
||||
# ================================================
|
||||
# https://docs.nextcloud.com/server/12/admin_manual/configuration_database/linux_database_configuration.html#database-read-commited-transaction-isolation-level
|
||||
transaction-isolation = READ-COMMITTED
|
@ -0,0 +1,4 @@
|
||||
FROM mariadb
|
||||
#FROM mysql
|
||||
|
||||
COPY transaction-isolation.conf /etc/mysql/conf.d/transaction-isolation.conf
|
@ -0,0 +1,5 @@
|
||||
[mysqld]
|
||||
# Set Transaction isolation Level to READ-COMMITED (Required by nextcloud)
|
||||
# ================================================
|
||||
# https://docs.nextcloud.com/server/13/admin_manual/configuration_database/linux_database_configuration.html#database-read-commited-transaction-isolation-level
|
||||
transaction-isolation = READ-COMMITTED
|
@ -2,12 +2,10 @@ version: '3'
|
||||
|
||||
services:
|
||||
db:
|
||||
image: mariadb
|
||||
# image: mysql
|
||||
build: ./db
|
||||
restart: always
|
||||
volumes:
|
||||
- db:/var/lib/mysql
|
||||
- ./mysql.conf:/etc/mysql/conf.d/mysql-config.cnf
|
||||
environment:
|
||||
- MYSQL_ROOT_PASSWORD=
|
||||
env_file:
|
||||
|
@ -1,5 +0,0 @@
|
||||
[mysqld]
|
||||
# Set Transaction isolation Level to READ-COMMITED (Required by nextcloud)
|
||||
# ================================================
|
||||
# https://docs.nextcloud.com/server/12/admin_manual/configuration_database/linux_database_configuration.html#database-read-commited-transaction-isolation-level
|
||||
transaction-isolation = READ-COMMITTED
|
Loading…
Reference in New Issue
Block a user