本站建議安裝
建議與OpenProject專案管理系統共用一個資料庫,拙認為OpenProject(追蹤進度)+teedy(文件管理) 可以解決公司很多內部文件管控問題
以下範本,請注意ports、DOCS_BASE_URL、DOCS_ADMIN_EMAIL_INIT、DATABASE_URL、DATABASE_USER、DATABASE_PASSWORD
version: '3'
services:
teedy-server:
image: sismics/docs:latest
restart: unless-stopped
ports:
- 8080:8080
environment:
# DOCS_BCRYPT_WORK: 5
# Base url to be used
DOCS_BASE_URL: "https://網站名稱"
# Set the admin email
DOCS_ADMIN_EMAIL_INIT: "電子郵件@xxx.xxx"
# Set the admin password (in this example: "superSecure")
DOCS_ADMIN_PASSWORD_INIT: "$$2a$$05$$PcMNUbJvsk7QHFSfEIDaIOjk1VI9/E7IPjTKx.jkjPxkx2EOKSoPS"
# Setup the database connection. "teedy-db" is the hostname
# and "teedy" is the name of the database the application
# will connect to.
DATABASE_URL: "jdbc:postgresql://資料庫IP:5432/teedy"
DATABASE_USER: "資料庫帳號"
DATABASE_PASSWORD: "資料庫密碼"
DATABASE_POOL_SIZE: "10"
volumes:
- ./docs/data:/data
#- ./webapps:/opt/jetty/webapps
networks:
- docker-internal
- internet
networks:
# Network without internet access. The db does not need
# access to the host network.
docker-internal:
driver: bridge
internal: true
internet:
driver: bridge