# crm1环境下 部署 mysql env $(cat ./env_crm1 | xargs) envsubst < ./docker-compose.yml | docker stack deploy --compose-file - crm1_mysql [mysqladmin] user= [mysqld] skip_name_resolve explicit_defaults_for_timestamp basedir=/opt/bitnami/mysql port=3306 tmpdir=/opt/bitnami/mysql/tmp socket=/opt/bitnami/mysql/tmp/mysql.sock pid_file=/opt/bitnami/mysql/tmp/mysqld.pid max_allowed_packet=16M bind_address=0.0.0.0 log_error=/opt/bitnami/mysql/logs/mysqld.log slow_query_log=0 slow_query_log_file=/opt/bitnami/mysql/logs/mysqld.log long_query_time=10 character_set_server=utf8mb4 collation_server=utf8mb4_unicode_ci plugin_dir=/opt/bitnami/mysql/lib/plugin [client] port=3306 socket=/opt/bitnami/mysql/tmp/mysql.sock default_character_set=utf8mb4 plugin_dir=/opt/bitnami/mysql/lib/plugin [manager] port=3306 socket=/opt/bitnami/mysql/tmp/mysql.sock pid_file=/opt/bitnami/mysql/tmp/mysqld.pid