mirror of
https://github.com/openimsdk/open-im-server.git
synced 2025-04-06 04:15:46 +08:00
docker-compose.yaml update
This commit is contained in:
parent
18d3523cf2
commit
4855aef0e4
@ -9,10 +9,10 @@ services:
|
|||||||
container_name: mysql
|
container_name: mysql
|
||||||
volumes:
|
volumes:
|
||||||
- /home/mysql/data:/var/lib/mysql
|
- /home/mysql/data:/var/lib/mysql
|
||||||
|
- /etc/timezone:/etc/timezone
|
||||||
- /etc/localtime:/etc/localtime
|
- /etc/localtime:/etc/localtime
|
||||||
environment:
|
environment:
|
||||||
MYSQL_ROOT_PASSWORD: "123456"
|
MYSQL_ROOT_PASSWORD: openIM
|
||||||
TZ: Asia/Shanghai
|
|
||||||
restart: always
|
restart: always
|
||||||
|
|
||||||
mongodb:
|
mongodb:
|
||||||
@ -39,7 +39,7 @@ services:
|
|||||||
restart: always
|
restart: always
|
||||||
sysctls:
|
sysctls:
|
||||||
net.core.somaxconn: 1024
|
net.core.somaxconn: 1024
|
||||||
command: 'redis-server /usr/local/redis/config/redis.conf'
|
command: redis-server /usr/local/redis/config/redis.conf
|
||||||
|
|
||||||
|
|
||||||
zookeeper:
|
zookeeper:
|
||||||
@ -76,10 +76,10 @@ services:
|
|||||||
- 2380:2380
|
- 2380:2380
|
||||||
container_name: etcd
|
container_name: etcd
|
||||||
volumes:
|
volumes:
|
||||||
|
- /etc/timezone:/etc/timezone
|
||||||
- /etc/localtime:/etc/localtime
|
- /etc/localtime:/etc/localtime
|
||||||
environment:
|
environment:
|
||||||
ETCDCTL_API: 3
|
ETCDCTL_API: 3
|
||||||
TZ: Asia/Shanghai
|
|
||||||
restart: always
|
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
|
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
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user