叁·分

又一个个人知识库

用户工具

站点工具


tech-notes:wekan-on-synology

Synology 上部署 Wekan

在 Portainer 中创建 Stack,粘贴如下内容,适应性修改相关信息。记得在存储池中创建相应文件夹,并赋予 System 读写权限1)

version: '2'
services:

  wekandb:
    image: mongo:4.4
    container_name: wekan-db
    restart: always
    expose:
      - 27017
    volumes:
      - /volume1/docker/wekan/db:/data/db
      - /volume1/docker/wekan/db:/dump
  wekan:
    image: wekanteam/wekan
    container_name: wekan
    restart: always
    ports:
      - 38080:8080
    environment:
      - MONGO_URL=mongodb://wekandb:27017/wekan
      - MAIL_URL=smtps://apikey:xxx@smtp.sendgrid.net:465/
      - MAIL_FROM="Wekan Notifications <noreply.wekan@xxx.yyy>"
      - ROOT_URL=https://xxx.yyy
      - BROWSER_POLICY_ENABLED=true
    depends_on:
      - wekandb
    volumes:
      - /etc/localtime:/etc/localtime:ro
      - /volume1/docker/wekan/app:/data

volumes:
  wekan-files:
    driver: local
  wekan-db:
    driver: local
  wekan-db-dump:
    driver: local

networks:
  wekan-tier:
    driver: bridge
    
tech-notes/wekan-on-synology.txt · 最后更改: 2022/06/22 16:46 由 Librarian

除额外注明的地方外,本维基上的内容按下列许可协议发布: CC Attribution-Noncommercial-Share Alike 4.0 International
CC Attribution-Noncommercial-Share Alike 4.0 International Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki