Ricky

链接

RSS

RSS Link
vsftpd配置防火墙规则
Fiddler导出为curl命令格式

用Docker安装Wekan

Ricky posted @ 2017年5月16日 15:51 in Other , 3211 阅读

1. 安装Docker和docker-compose

2.新建wekan用户useradd -d /home/wekan -m -s /bin/bash 

3.加入wekan组usermod -aG docker wekan

4.新建~wekan/docker-compose.yml文件
wekandb:
  image: mongo
  restart: always
  volumes:
    - /home/wekan/data:/data/db

wekan:
  image: mquandalle/wekan
  restart: always
  links:
    - wekandb:db
  ports:
    - 8080:80
  environment:
    - MONGO_URL=mongodb://db
    - ROOT_URL=http://hostname/wekan

5.用docker命令导入image后启动容器

docker run -d --name wekan-db mongo
docker run -d --link "wekan-db:db" -e "MONGO_URL=mongodb://db" \
  -e "ROOT_URL=http://example.com" -p 8080:80 mquandalle/wekan
 
6.停止容器后用docker-compose启动测试是否正常
docker-compose up
 
7.最后docker-compose start部署

 

Avatar_small
Alyssa 说:
2023年1月09日 13:08

Yes, you can install Wekan with Docker. In order to do so, you need to download and install Docker on your best place to buy diamond rings computer. Then, you can download the Wekan image from the Docker website. After that, you need to run the Wekan image with Docker.


登录 *


loading captcha image...
(输入验证码)
or Ctrl+Enter