标签:install rem port 访问 utf8 mys front 后端 htm
准备工作(相关依赖及配置见saltshaker.conf):
$ docker run -p 0.0.0.0:6379:6379 --name saltshaker_redis -e REDIS_PASSWORD=saltshaker -d yueyongyue/redis:08
$ docker run -d --name saltshaker_rabbitmq -e RABBITMQ_DEFAULT_USER=saltshaker -e RABBITMQ_DEFAULT_PASS=saltshaker -p 15672:15672 -p 5672:5672 rabbitmq:3-management
$ docker run -p 0.0.0.0:3306:3306 --name saltshaker_mysql -e MYSQL_ROOT_PASSWORD=123456 -d yueyongyue/saltshaker_mysql:10 --character-set-server=utf8mb4 --collation-server=utf8mb4_unicode_ci
$ docker run -d -p 0.0.0.0:9000:9000 --name saltshaker_api -e REDIS_HOST=192.168.10.100 -e REDIS_PORT=6379 -e REDIS_PASSWORD=saltshaker -e MYSQL_HOST=192.168.10.100 -e MYSQL_PORT=3306 -e MYSQL_USER=root -e MYSQL_PASSWORD=123456 -e MYSQL_DB=saltshaker_plus -e MYSQL_CHARSET=utf8 -e BROKER_HOST=192.168.10.100 -e BROKER_PORT=5672 -e BROKER_USER=saltshaker -e BROKER_PASSWORD=saltshaker -e FROM_ADDR=test@saltshaker.com -e MAIL_PASSWORD=123345 -e SMTP_SERVER=smtp.saltshaker.com yueyongyue/saltshaker_api:1.11
$ docker run -d -p 0.0.0.0:80:80 --name saltshaker_frontend -e DOMAIN=192.168.10.100 -e API_ADDR=192.168.10.100 -e Nginx_PROXY_PASS=192.168.10.100:9000 yueyongyue/saltshaker_frontend:1.11
$ cd $HOME
$ git clone https://github.com/yueyongyue/saltshaker_api.git
配置Salt Master
https://www.cnblogs.com/netflix/p/12106214.html
标签:install rem port 访问 utf8 mys front 后端 htm
原文地址:https://www.cnblogs.com/netflix/p/12106182.html