Skip to content

Commit f7f9401

Browse files
committed
add config about docker-compose container for example
1 parent 381ca72 commit f7f9401

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

example/config.yaml

+5-5
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,15 @@
11
# all fields must be filled.
22

33
mysql:
4-
host: '127.0.0.1'
5-
port: 3306
4+
host: '172.0.0.2' # or '127.0.0.1'
5+
port: 3306 # or 3307
66
user: 'root'
7-
password: '1234'
7+
password: ''
88
server_id: 2 # this should be unique. this may be different depending on environment.
99
log_file: 'mysql-bin.000001' # this may be different depending on environment.
1010
log_pos: 0
1111
blocking: True # if true, mysql waits for new incoming event to send after pymyelarepl reads all the previous events.
1212

1313
es:
14-
host: '127.0.0.1'
15-
port: 9200
14+
host: '172.0.0.3' # or '127.0.0.1'
15+
port: 9200 # or 9201

0 commit comments

Comments
 (0)