Another refactor
merge joplin and joplin-server
This commit is contained in:
parent
931e499bd1
commit
55beb0e2e3
48 changed files with 198 additions and 228 deletions
|
@ -1,60 +0,0 @@
|
|||
APP_NAME='Joplin Server'
|
||||
APP_PORT=22300
|
||||
SIGNUP_ENABLED=0
|
||||
TERMS_ENABLED=0
|
||||
ACCOUNT_TYPES_ENABLED=0
|
||||
ERROR_STACK_TRACES=0
|
||||
COOKIES_SECURE=0
|
||||
RUNNING_IN_DOCKER=0
|
||||
# Maxiumm allowed drift between NTP time and server time. A few
|
||||
# milliseconds is normally not an issue unless many clients are modifying
|
||||
# the same note at the exact same time. But past a certain limit it might
|
||||
# mean the server clock is incorrect and should be fixed as that could
|
||||
# result in clients generating many conflicts. Set to 0 to disable the
|
||||
# check. https:#github.com/laurent22/joplin/issues/5738
|
||||
MAX_TIME_DRIFT=2000
|
||||
#==================================================
|
||||
# URL config
|
||||
#==================================================
|
||||
#APP_BASE_URL=
|
||||
USER_CONTENT_BASE_URL=
|
||||
API_BASE_URL=
|
||||
JOPLINAPP_BASE_URL='https:#joplinapp.org'
|
||||
#==================================================
|
||||
# Database config
|
||||
#==================================================
|
||||
DB_CLIENT='sqlite3'
|
||||
DB_SLOW_QUERY_LOG_ENABLED=0
|
||||
DB_SLOW_QUERY_LOG_MIN_DURATION=1000
|
||||
DB_AUTO_MIGRATION=1
|
||||
POSTGRES_PASSWORD='joplin'
|
||||
POSTGRES_DATABASE='joplin'
|
||||
POSTGRES_USER='joplin'
|
||||
POSTGRES_HOST=
|
||||
POSTGRES_PORT=5432
|
||||
# This must be the full path to the database file
|
||||
SQLITE_DATABASE=
|
||||
#==================================================
|
||||
# Content driver config
|
||||
#==================================================
|
||||
STORAGE_DRIVER='Type=Database'
|
||||
STORAGE_DRIVER_FALLBACK=
|
||||
#==================================================
|
||||
# Mailer config
|
||||
#==================================================
|
||||
MAILER_ENABLED=0
|
||||
MAILER_HOST=
|
||||
MAILER_PORT=587
|
||||
MAILER_SECURE=1
|
||||
MAILER_AUTH_USER=
|
||||
MAILER_AUTH_PASSWORD=
|
||||
MAILER_NOREPLY_NAME=
|
||||
MAILER_NOREPLY_EMAIL=
|
||||
SUPPORT_EMAIL='SUPPORT_EMAIL'
|
||||
SUPPORT_NAME=
|
||||
BUSINESS_EMAIL=
|
||||
#==================================================
|
||||
# Stripe config
|
||||
#==================================================
|
||||
STRIPE_SECRET_KEY=
|
||||
STRIPE_WEBHOOK_SECRET=
|
|
@ -1,17 +0,0 @@
|
|||
[Unit]
|
||||
Description=joplin server
|
||||
Documentation=https://github.com/laurent22/joplin
|
||||
|
||||
After=network.target
|
||||
|
||||
[Service]
|
||||
User=joplin-server
|
||||
Group=joplin-server
|
||||
EnvironmentFile=/etc/default/joplin-server
|
||||
ExecStart=/usr/bin/yarn --cwd /usr/lib/joplin-server/server/ start
|
||||
WorkingDirectory=/var/lib/joplin-server/
|
||||
Restart=on-failure
|
||||
RestartSec=30s
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
Loading…
Add table
Add a link
Reference in a new issue