This guide will introduce how to use Tencent Cloud's object storage as a "proxy" for AWS S3.
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
{ | |
"my-10001": { | |
"nodes": 3, | |
"username": "root", | |
"password": "123456" | |
} | |
} |
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
[mysqld] | |
port = 3306 | |
back_log = 3000 | |
character_set_server = utf8 | |
max_connect_errors = 100 | |
max_connections = 2000 | |
max_user_connections = 2000 | |
max_heap_table_size = 64M | |
max_allowed_packet = 1024M | |
max_binlog_size = 500M |
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
[mysqld] | |
port = 3306 | |
back_log = 3000 | |
character_set_server = utf8 | |
max_connect_errors = 100 | |
max_connections = 2000 | |
max_user_connections = 2000 | |
max_heap_table_size = 64M | |
max_allowed_packet = 1024M | |
max_binlog_size = 500M |
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
{ | |
"id": "/gitlab", | |
"constraints": [ | |
[ | |
"hostname", | |
"CLUSTER", | |
"" | |
] | |
], |
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
#!/usr/bin/env python | |
import json | |
import os | |
import toml | |
from os.path import expanduser | |
import requests | |
import argparse | |
import sys | |
import re | |
from urlparse import urljoin |
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
global | |
daemon | |
log 127.0.0.1 local0 debug | |
maxconn 4096 | |
#nbproc 1 | |
pidfile /var/run/haproxy.pid | |
#pidfile /mnt/mesos/sandbox/CONF_SHARE_DATA/haproxy.pid | |
#chroot /usr/local/etc/haproxy | |
defaults |
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
[mysqld] | |
port = 3306 | |
back_log = 3000 | |
character_set_server = utf8 | |
max_connect_errors = 100 | |
max_connections = 2000 | |
max_user_connections = 2000 | |
max_heap_table_size = 64M | |
max_allowed_packet = 1024M | |
max_binlog_size = 500M |
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
global | |
daemon | |
nbproc 1 | |
pidfile /var/run/haproxy.pid | |
chroot /usr/local/etc/haproxy | |
defaults | |
mode tcp | |
retries 3 | |
option redispatch |
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
[mysqld] | |
port = 3306 | |
back_log = 3000 | |
character_set_server = utf8 | |
max_connect_errors = 100 | |
max_connections = 2000 | |
max_user_connections = 2000 | |
max_heap_table_size = 64M | |
max_allowed_packet = 1024M | |
max_binlog_size = 500M |