forked from IsantePlus/wait-for-openmrs-action
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Added action to publish docker image * Fixes for entrypoint.sh * Version bump * CI changes * Fix
- Loading branch information
Showing
7 changed files
with
6,803 additions
and
32 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,62 @@ | ||
# Copyright 2020 Google LLC | ||
# | ||
# Licensed under the Apache License, Version 2.0 (the "License"); | ||
# you may not use this file except in compliance with the License. | ||
# You may obtain a copy of the License at | ||
# | ||
# http://www.apache.org/licenses/LICENSE-2.0 | ||
# | ||
# Unless required by applicable law or agreed to in writing, software | ||
# distributed under the License is distributed on an "AS IS" BASIS, | ||
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
# See the License for the specific language governing permissions and | ||
# limitations under the License. | ||
|
||
# This is a pre-configuration for Docker MySQL to allow BinLog and replication necessary configurations for Debezium to work | ||
# see ./openmrs-compose.yaml | ||
# REF: https://github.com/debezium/debezium/blob/master/debezium-connector-mysql/src/test/docker/server-gtids/my.cnf | ||
|
||
# For advice on how to change settings please see | ||
# http://dev.mysql.com/doc/refman/5.7/en/server-configuration-defaults.html | ||
|
||
[mysqld] | ||
# | ||
# Remove leading # and set to the amount of RAM for the most important data | ||
# cache in MySQL. Start at 70% of total RAM for dedicated server, else 10%. | ||
# innodb_buffer_pool_size = 128M | ||
# | ||
# Remove leading # to turn on a very important data integrity option: logging | ||
# changes to the binary log between backups. | ||
# log_bin | ||
# | ||
# Remove leading # to set options mainly useful for reporting servers. | ||
# The server defaults are faster for transactions and fast SELECTs. | ||
# Adjust sizes as needed, experiment to find the optimal values. | ||
# join_buffer_size = 128M | ||
# sort_buffer_size = 2M | ||
# read_rnd_buffer_size = 2M | ||
skip-host-cache | ||
skip-name-resolve | ||
datadir=/var/lib/mysql-no-volume | ||
#socket=/var/lib/mysql/mysql.sock | ||
#secure-file-priv=/var/lib/mysql-files | ||
user=mysql | ||
|
||
# Disabling symbolic-links is recommended to prevent assorted security risks | ||
symbolic-links=0 | ||
|
||
#log-error=/var/log/mysqld.log | ||
#pid-file=/var/run/mysqld/mysqld.pid | ||
|
||
# ---------------------------------------------- | ||
# Enable the binlog for replication & CDC | ||
# ---------------------------------------------- | ||
|
||
# Enable binary replication log and set the prefix, expiration, and log format. | ||
# The prefix is arbitrary, expiration can be short for integration tests but would | ||
# be longer on a production system. Row-level info is required for ingest to work. | ||
# Server ID is required, but this will vary on production systems | ||
server-id = 223344 | ||
log_bin = mysql-bin | ||
expire_logs_days = 1 | ||
binlog_format = row |
Oops, something went wrong.