diff options
author | Tilo Spannagel <development@tilosp.de> | 2018-03-21 14:33:03 +0100 |
---|---|---|
committer | Tilo Spannagel <development@tilosp.de> | 2018-03-21 14:39:09 +0100 |
commit | b2e04519ede24116f48de88f9d318df4d35dea6f (patch) | |
tree | 01267baf3d71a1adade85d5e7216cc1791ec57c9 /.examples/docker-compose/with-nginx-proxy | |
parent | 8c86333de9f4e8187fa0372e28d8d2b92c983da2 (diff) |
Use custom Dockerfile instead of mounted config
Signed-off-by: Tilo Spannagel <development@tilosp.de>
Diffstat (limited to '.examples/docker-compose/with-nginx-proxy')
12 files changed, 28 insertions, 20 deletions
diff --git a/.examples/docker-compose/with-nginx-proxy/mariadb-cron-redis/apache/db/Dockerfile b/.examples/docker-compose/with-nginx-proxy/mariadb-cron-redis/apache/db/Dockerfile new file mode 100644 index 00000000..d9a5cfb4 --- /dev/null +++ b/.examples/docker-compose/with-nginx-proxy/mariadb-cron-redis/apache/db/Dockerfile @@ -0,0 +1,4 @@ +FROM mariadb +#FROM mysql + +COPY transaction-isolation.conf /etc/mysql/conf.d/transaction-isolation.conf diff --git a/.examples/docker-compose/with-nginx-proxy/mariadb-cron-redis/apache/mysql.conf b/.examples/docker-compose/with-nginx-proxy/mariadb-cron-redis/apache/db/transaction-isolation.conf index 15e5a425..527a3f0e 100644 --- a/.examples/docker-compose/with-nginx-proxy/mariadb-cron-redis/apache/mysql.conf +++ b/.examples/docker-compose/with-nginx-proxy/mariadb-cron-redis/apache/db/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 -transaction-isolation = READ-COMMITTED
\ No newline at end of file +# https://docs.nextcloud.com/server/13/admin_manual/configuration_database/linux_database_configuration.html#database-read-commited-transaction-isolation-level +transaction-isolation = READ-COMMITTED diff --git a/.examples/docker-compose/with-nginx-proxy/mariadb-cron-redis/apache/docker-compose.yml b/.examples/docker-compose/with-nginx-proxy/mariadb-cron-redis/apache/docker-compose.yml index f8213f5d..65561cbe 100644 --- a/.examples/docker-compose/with-nginx-proxy/mariadb-cron-redis/apache/docker-compose.yml +++ b/.examples/docker-compose/with-nginx-proxy/mariadb-cron-redis/apache/docker-compose.yml @@ -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: diff --git a/.examples/docker-compose/with-nginx-proxy/mariadb-cron-redis/fpm/db/Dockerfile b/.examples/docker-compose/with-nginx-proxy/mariadb-cron-redis/fpm/db/Dockerfile new file mode 100644 index 00000000..d9a5cfb4 --- /dev/null +++ b/.examples/docker-compose/with-nginx-proxy/mariadb-cron-redis/fpm/db/Dockerfile @@ -0,0 +1,4 @@ +FROM mariadb +#FROM mysql + +COPY transaction-isolation.conf /etc/mysql/conf.d/transaction-isolation.conf diff --git a/.examples/docker-compose/with-nginx-proxy/mariadb-cron-redis/fpm/mysql.conf b/.examples/docker-compose/with-nginx-proxy/mariadb-cron-redis/fpm/db/transaction-isolation.conf index 15e5a425..527a3f0e 100644 --- a/.examples/docker-compose/with-nginx-proxy/mariadb-cron-redis/fpm/mysql.conf +++ b/.examples/docker-compose/with-nginx-proxy/mariadb-cron-redis/fpm/db/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 -transaction-isolation = READ-COMMITTED
\ No newline at end of file +# https://docs.nextcloud.com/server/13/admin_manual/configuration_database/linux_database_configuration.html#database-read-commited-transaction-isolation-level +transaction-isolation = READ-COMMITTED diff --git a/.examples/docker-compose/with-nginx-proxy/mariadb-cron-redis/fpm/docker-compose.yml b/.examples/docker-compose/with-nginx-proxy/mariadb-cron-redis/fpm/docker-compose.yml index cb654f68..cb03fe93 100644 --- a/.examples/docker-compose/with-nginx-proxy/mariadb-cron-redis/fpm/docker-compose.yml +++ b/.examples/docker-compose/with-nginx-proxy/mariadb-cron-redis/fpm/docker-compose.yml @@ -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: diff --git a/.examples/docker-compose/with-nginx-proxy/mariadb/apache/db/Dockerfile b/.examples/docker-compose/with-nginx-proxy/mariadb/apache/db/Dockerfile new file mode 100644 index 00000000..d9a5cfb4 --- /dev/null +++ b/.examples/docker-compose/with-nginx-proxy/mariadb/apache/db/Dockerfile @@ -0,0 +1,4 @@ +FROM mariadb +#FROM mysql + +COPY transaction-isolation.conf /etc/mysql/conf.d/transaction-isolation.conf diff --git a/.examples/docker-compose/with-nginx-proxy/mariadb/apache/mysql.conf b/.examples/docker-compose/with-nginx-proxy/mariadb/apache/db/transaction-isolation.conf index 15e5a425..527a3f0e 100644 --- a/.examples/docker-compose/with-nginx-proxy/mariadb/apache/mysql.conf +++ b/.examples/docker-compose/with-nginx-proxy/mariadb/apache/db/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 -transaction-isolation = READ-COMMITTED
\ No newline at end of file +# https://docs.nextcloud.com/server/13/admin_manual/configuration_database/linux_database_configuration.html#database-read-commited-transaction-isolation-level +transaction-isolation = READ-COMMITTED diff --git a/.examples/docker-compose/with-nginx-proxy/mariadb/apache/docker-compose.yml b/.examples/docker-compose/with-nginx-proxy/mariadb/apache/docker-compose.yml index aeb2d6b0..738bdeb7 100644 --- a/.examples/docker-compose/with-nginx-proxy/mariadb/apache/docker-compose.yml +++ b/.examples/docker-compose/with-nginx-proxy/mariadb/apache/docker-compose.yml @@ -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: diff --git a/.examples/docker-compose/with-nginx-proxy/mariadb/fpm/db/Dockerfile b/.examples/docker-compose/with-nginx-proxy/mariadb/fpm/db/Dockerfile new file mode 100644 index 00000000..d9a5cfb4 --- /dev/null +++ b/.examples/docker-compose/with-nginx-proxy/mariadb/fpm/db/Dockerfile @@ -0,0 +1,4 @@ +FROM mariadb +#FROM mysql + +COPY transaction-isolation.conf /etc/mysql/conf.d/transaction-isolation.conf diff --git a/.examples/docker-compose/with-nginx-proxy/mariadb/fpm/mysql.conf b/.examples/docker-compose/with-nginx-proxy/mariadb/fpm/db/transaction-isolation.conf index 15e5a425..527a3f0e 100644 --- a/.examples/docker-compose/with-nginx-proxy/mariadb/fpm/mysql.conf +++ b/.examples/docker-compose/with-nginx-proxy/mariadb/fpm/db/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 -transaction-isolation = READ-COMMITTED
\ No newline at end of file +# https://docs.nextcloud.com/server/13/admin_manual/configuration_database/linux_database_configuration.html#database-read-commited-transaction-isolation-level +transaction-isolation = READ-COMMITTED diff --git a/.examples/docker-compose/with-nginx-proxy/mariadb/fpm/docker-compose.yml b/.examples/docker-compose/with-nginx-proxy/mariadb/fpm/docker-compose.yml index 7d2b7916..fc1bdd60 100644 --- a/.examples/docker-compose/with-nginx-proxy/mariadb/fpm/docker-compose.yml +++ b/.examples/docker-compose/with-nginx-proxy/mariadb/fpm/docker-compose.yml @@ -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: |