Changed db build to pre-existing image with command arguments

This commit is contained in:
rabaraho 2018-04-19 12:47:19 -04:00
parent 5ddd03aa50
commit d905503a6e
24 changed files with 16 additions and 80 deletions

View File

@ -1,4 +0,0 @@
FROM mariadb
#FROM mysql
COPY transaction-isolation.conf /etc/mysql/conf.d/transaction-isolation.conf

View File

@ -1,5 +0,0 @@
[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

View File

@ -2,7 +2,8 @@ version: '3'
services: services:
db: db:
build: ./db image: mariadb
command: --transaction-isolation=READ-COMMITTED --binlog-format=ROW
restart: always restart: always
volumes: volumes:
- db:/var/lib/mysql - db:/var/lib/mysql

View File

@ -1,4 +0,0 @@
FROM mariadb
#FROM mysql
COPY transaction-isolation.conf /etc/mysql/conf.d/transaction-isolation.conf

View File

@ -1,5 +0,0 @@
[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

View File

@ -2,7 +2,8 @@ version: '3'
services: services:
db: db:
build: ./db image: mariadb
command: --transaction-isolation=READ-COMMITTED --binlog-format=ROW
restart: always restart: always
volumes: volumes:
- db:/var/lib/mysql - db:/var/lib/mysql

View File

@ -1,4 +0,0 @@
FROM mariadb
#FROM mysql
COPY transaction-isolation.conf /etc/mysql/conf.d/transaction-isolation.conf

View File

@ -1,5 +0,0 @@
[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

View File

@ -2,7 +2,8 @@ version: '3'
services: services:
db: db:
build: ./db image: mariadb
command: --transaction-isolation=READ-COMMITTED --binlog-format=ROW
restart: always restart: always
volumes: volumes:
- db:/var/lib/mysql - db:/var/lib/mysql

View File

@ -1,4 +0,0 @@
FROM mariadb
#FROM mysql
COPY transaction-isolation.conf /etc/mysql/conf.d/transaction-isolation.conf

View File

@ -1,5 +0,0 @@
[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

View File

@ -2,7 +2,8 @@ version: '3'
services: services:
db: db:
build: ./db image: mariadb
command: --transaction-isolation=READ-COMMITTED --binlog-format=ROW
restart: always restart: always
volumes: volumes:
- db:/var/lib/mysql - db:/var/lib/mysql

View File

@ -1,4 +0,0 @@
FROM mariadb
#FROM mysql
COPY transaction-isolation.conf /etc/mysql/conf.d/transaction-isolation.conf

View File

@ -1,5 +0,0 @@
[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

View File

@ -2,7 +2,8 @@ version: '3'
services: services:
db: db:
build: ./db image: mariadb
command: --transaction-isolation=READ-COMMITTED --binlog-format=ROW
restart: always restart: always
volumes: volumes:
- db:/var/lib/mysql - db:/var/lib/mysql

View File

@ -1,4 +0,0 @@
FROM mariadb
#FROM mysql
COPY transaction-isolation.conf /etc/mysql/conf.d/transaction-isolation.conf

View File

@ -1,5 +0,0 @@
[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

View File

@ -2,7 +2,8 @@ version: '3'
services: services:
db: db:
build: ./db image: mariadb
command: --transaction-isolation=READ-COMMITTED --binlog-format=ROW
restart: always restart: always
volumes: volumes:
- db:/var/lib/mysql - db:/var/lib/mysql

View File

@ -1,4 +0,0 @@
FROM mariadb
#FROM mysql
COPY transaction-isolation.conf /etc/mysql/conf.d/transaction-isolation.conf

View File

@ -1,5 +0,0 @@
[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

View File

@ -2,7 +2,8 @@ version: '3'
services: services:
db: db:
build: ./db image: mariadb
command: --transaction-isolation=READ-COMMITTED --binlog-format=ROW
restart: always restart: always
volumes: volumes:
- db:/var/lib/mysql - db:/var/lib/mysql

View File

@ -1,4 +0,0 @@
FROM mariadb
#FROM mysql
COPY transaction-isolation.conf /etc/mysql/conf.d/transaction-isolation.conf

View File

@ -1,5 +0,0 @@
[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

View File

@ -2,7 +2,8 @@ version: '3'
services: services:
db: db:
build: ./db image: mariadb
command: --transaction-isolation=READ-COMMITTED --binlog-format=ROW
restart: always restart: always
volumes: volumes:
- db:/var/lib/mysql - db:/var/lib/mysql