Skip to content

Commit 192e55c

Browse files
author
zhang.cheng
committed
增加Beanstalk
1 parent 85e22b0 commit 192e55c

File tree

3 files changed

+27
-2
lines changed

3 files changed

+27
-2
lines changed

README.md

+4
Original file line numberDiff line numberDiff line change
@@ -118,6 +118,10 @@ Windows 磁盘是NTFS/FAT32,不支持Ext4大文件,不能挂载,需要注
118118

119119
这里强制使用ES5.5.2版本。 如果需要安装IK,请自行配置容器插件目录(`/usr/share/elasticsearch/plugins`)
120120

121+
### Beanstalk
122+
包含Beanstalkd + Aurora, 进入容器执行`/usr/local/aurora/aurora -c /usr/local/aurora/conf/aurora.toml`, 就可以启动Aurora
123+
124+
121125
## 常用运行
122126

123127
```sh

docker-compose.yaml

+17
Original file line numberDiff line numberDiff line change
@@ -110,6 +110,23 @@ services:
110110
# - 6379:6379
111111
# container_name: redis
112112
#restart: always
113+
# Beanstalk Server
114+
beanstalk:
115+
build: beanstalk/
116+
environment:
117+
- TZ=Asia/Shanghai
118+
- BEANSTALKD_VERSION=${BEANSTALKD_VERSION}
119+
- BEANSTALKD_PORT=${BEANSTALKD_PORT}
120+
- BEANSTALKD_ADDR=${BEANSTALKD_ADDR}
121+
- BEANSTALKD_MAX_JOB_SIZE=${BEANSTALKD_MAX_JOB_SIZE}
122+
ports:
123+
- 11300:${BEANSTALKD_PORT}
124+
- 3000:3000
125+
volumes:
126+
- ${LOCAL_STOARGE_PATH}/beanstalk/data/beanstalkd/:/data/beanstalkd/
127+
- ${LOCAL_STOARGE_PATH}/beanstalk/aurora/conf/:/usr/local/aurora/conf/:cached
128+
container_name: beanstalk
129+
#restart: always
113130
#mongo:
114131
# image: mongo:latest
115132
# volumes:

example.env

+6-2
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
OPS_VERSION=1.0.0
1+
OPS_VERSION=1.0.2
22
LOCAL_STOARGE_PATH=d:/servers/docker
33
LOCAL_WEB_PATH=e:/works
44
NGINX_VERSION=1.15.3
@@ -8,4 +8,8 @@ REDIS_VERSION=4.0.11-alpine
88
MONGO_VERSION=3.4.11
99
SERVER_TIMEZONE=Asia/Shanghai
1010
MYSQL_ROOT_PASSWORD=mysql2018
11-
ELASTIC_VERSION=5.5.2
11+
ELASTIC_VERSION=5.5.2
12+
BEANSTALKD_VERSION=1.10
13+
BEANSTALKD_PORT=11300
14+
BEANSTALKD_ADDR=0.0.0.0
15+
BEANSTALKD_MAX_JOB_SIZE=65535

0 commit comments

Comments
 (0)