提交 4855aef0 编写于 作者: 落凡尘.'s avatar 落凡尘.

docker-compose.yaml update

上级 18d3523c
......@@ -9,10 +9,10 @@ services:
container_name: mysql
volumes:
- /home/mysql/data:/var/lib/mysql
- /etc/timezone:/etc/timezone
- /etc/localtime:/etc/localtime
environment:
MYSQL_ROOT_PASSWORD: "123456"
TZ: Asia/Shanghai
MYSQL_ROOT_PASSWORD: openIM
restart: always
mongodb:
......@@ -39,7 +39,7 @@ services:
restart: always
sysctls:
net.core.somaxconn: 1024
command: 'redis-server /usr/local/redis/config/redis.conf'
command: redis-server /usr/local/redis/config/redis.conf
zookeeper:
......@@ -76,10 +76,10 @@ services:
- 2380:2380
container_name: etcd
volumes:
- /etc/timezone:/etc/timezone
- /etc/localtime:/etc/localtime
environment:
ETCDCTL_API: 3
TZ: Asia/Shanghai
restart: always
command: /usr/local/bin/etcd --name etcd0 --data-dir /etcd-data --listen-client-urls http://0.0.0.0:2379 --advertise-client-urls http://0.0.0.0:2379 --listen-peer-urls http://0.0.0.0:2380 --initial-advertise-peer-urls http://0.0.0.0:2380 --initial-cluster etcd0=http://0.0.0.0:2380 --initial-cluster-token tkn --initial-cluster-state new
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册