sunnyxuebuhui 2020-01-23
docker run --name mysql-server -t -e MYSQL_DATABASE="gogs" -e MYSQL_USER="gogs" -e MYSQL_PASSWORD="gogs432" -e MYSQL_ROOT_PASSWORD="Ytwad&)%#" -p 3306:3306 -v /home/mysql:/var/lib/mysql -d mysql:5.7 docker run --name mysql-server -t -e MYSQL_DATABASE="zabbix" -e MYSQL_USER="zabbix" -e MYSQL_PASSWORD="zabbix_pwd" -e MYSQL_ROOT_PASSWORD="root_pwd" -p 3306:3306 -v /data/zabbix/mysql:/var/lib/mysql -d mysql:5.7
docker run -p 27017:27017 -v ~/mongo/db:/data/db -d mongo
docker run -d -p 6379:6379 -v $PWD/conf/redis.conf:/usr/local/etc/redis/redis.conf -v $PWD/data:/data --name docker-redis docker.io/redis redis-server /usr/local/etc/redis/redis.conf --appendonly yes