mirror of
https://github.com/wekan/wekan.git
synced 2025-09-22 01:50:48 +02:00
Clarified required settings for start-wekan.bat and start-wekan.sh .
Thanks to xet7 !
This commit is contained in:
parent
3f1bba4f1a
commit
3e6b396d09
2 changed files with 56 additions and 15 deletions
|
@ -3,14 +3,32 @@
|
|||
# If you want to restart even on crash, uncomment while and done lines.
|
||||
#while true; do
|
||||
cd .build/bundle
|
||||
#---------------------------------------------
|
||||
#-------------------- REQUIRED SETTINGS START --------------------
|
||||
# WRITEABLE PATH REQUIRED TO EXISTS AND BE WRITABLE FOR ATTACHMENTS TO WORK
|
||||
export WRITABLE_PATH=..
|
||||
#-----------------------------------------------------------------
|
||||
# MongoDB database URL required
|
||||
export MONGO_URL=mongodb://127.0.0.1:27017/wekan
|
||||
#-----------------------------------------------------------------
|
||||
# If port is 80, must change ROOT_URL to: http://YOUR-WEKAN-SERVER-IPv4-ADDRESS , like http://192.168.0.100
|
||||
# If port is not 80, must change ROOT_URL to: http://YOUR-WEKAN-SERVER-IPv4-ADDRESS:YOUR-PORT-NUMBER , like http://192.168.0.100:2000
|
||||
# If ROOT_URL is not correct, these do not work: translations, uploading attachments.
|
||||
export ROOT_URL=http://localhost:2000
|
||||
# If at public Internet, required different SSL/TLS settings:
|
||||
# - https://github.com/wekan/wekan/wiki/Settings
|
||||
# - Also at wiki: SSL/TLS config for Caddy/Nginx/Apache
|
||||
#-----------------------------------------------------------------
|
||||
# Must change to YOUR-PORT-NUMBER:
|
||||
export PORT=2000
|
||||
#-------------------- REQUIRED SETTINGS END ----------------------
|
||||
#
|
||||
#-------------------- OPTIONAL SETTINGS START --------------------
|
||||
# If at public Internet, required different settings:
|
||||
# - For ROOT_URL: https://github.com/wekan/wekan/wiki/Settings
|
||||
# - For SSL/TLS, also at above wiki right menu: config for Caddy/Nginx/Apache
|
||||
#-----------------------------------------------------------------
|
||||
# Debug OIDC OAuth2 etc.
|
||||
#export DEBUG=true
|
||||
#---------------------------------------------
|
||||
export MONGO_URL='mongodb://127.0.0.1:27017/wekan'
|
||||
#---------------------------------------------
|
||||
# WRITEABLE PATH
|
||||
export WRITABLE_PATH=..
|
||||
#-----------------------------------------------------------------
|
||||
# ==== AWS S3 FOR FILES ====
|
||||
# Any region. For example:
|
||||
|
@ -20,14 +38,9 @@
|
|||
#
|
||||
#export S3='{"s3":{"key": "xxx", "secret": "xxx", "bucket": "xxx", "region": "xxx"}}'
|
||||
#-----------------------------------------------------------------
|
||||
# Production: https://example.com/wekan
|
||||
# Local: http://localhost:2000
|
||||
#export ipaddress=$(ifdata -pa eth0)
|
||||
export ROOT_URL='http://localhost:2000'
|
||||
#---------------------------------------------
|
||||
# https://github.com/wekan/wekan/wiki/Troubleshooting-Mail
|
||||
# https://github.com/wekan/wekan-mongodb/blob/master/docker-compose.yml
|
||||
export MAIL_URL='smtp://user:pass@mailserver.example.com:25/'
|
||||
export MAIL_URL=smtp://user:pass@mailserver.example.com:25/
|
||||
export MAIL_FROM='Wekan Boards <info@example.com>'
|
||||
# Currently MAIL_SERVICE is not in use.
|
||||
#export MAIL_SERVICE=Outlook365
|
||||
|
@ -36,15 +49,13 @@
|
|||
#---------------------------------------------
|
||||
#export KADIRA_OPTIONS_ENDPOINT=http://127.0.0.1:11011
|
||||
#---------------------------------------------
|
||||
# This is local port where Wekan Node.js runs, same as below on Caddyfile settings.
|
||||
export PORT=2000
|
||||
#---------------------------------------------
|
||||
# ==== NUMBER OF SEARCH RESULTS PER PAGE BY DEFAULT ====
|
||||
#export RESULTS_PER_PAGE=20
|
||||
#---------------------------------------------
|
||||
# Wekan Export Board works when WITH_API=true.
|
||||
# If you disable Wekan API with false, Export Board does not work.
|
||||
export WITH_API='true'
|
||||
export WITH_API=true
|
||||
#---------------------------------------------------------------
|
||||
# ==== PASSWORD BRUTE FORCE PROTECTION ====
|
||||
#https://atmospherejs.com/lucasantoniassi/accounts-lockout
|
||||
|
@ -536,6 +547,7 @@
|
|||
# Add more stack:
|
||||
#bash -c "ulimit -s 65500; exec node --stack-size=65500 --trace-deprecation main.js"
|
||||
#bash -c "ulimit -s 65500; exec node --stack-size=65500 main.js"
|
||||
#-------------------- OPTIONAL SETTINGS END ----------------------
|
||||
bash -c "ulimit -s 65500; exec node main.js"
|
||||
#node main.js
|
||||
#---------------------------------------------------------------------
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue