mirror of
https://github.com/dnote/dnote
synced 2026-03-14 22:45:50 +01:00
Use OnPremises (#631)
This commit is contained in:
parent
dd6f8c7f65
commit
d52a5bdf48
9 changed files with 40 additions and 30 deletions
|
|
@ -22,7 +22,7 @@ mv ./dnote-server /usr/local/bin
|
|||
|
||||
```bash
|
||||
GO_ENV=PRODUCTION \
|
||||
OnPremise=true \
|
||||
OnPremises=true \
|
||||
DBHost=localhost \
|
||||
DBPort=5432 \
|
||||
DBName=dnote \
|
||||
|
|
@ -33,7 +33,7 @@ SmtpHost=$SmtpHost \
|
|||
SmtpPort=$SmtpPort \
|
||||
SmtpUsername=$SmtpUsername \
|
||||
SmtpPassword=$SmtpPassword \
|
||||
DisableRegistration=false
|
||||
DisableRegistration=false \
|
||||
dnote-server start
|
||||
```
|
||||
|
||||
|
|
@ -129,7 +129,7 @@ RestartSec=3
|
|||
WorkingDirectory=/home/$user
|
||||
ExecStart=/usr/local/bin/dnote-server start
|
||||
Environment=GO_ENV=PRODUCTION
|
||||
Environment=OnPremise=true
|
||||
Environment=OnPremises=true
|
||||
Environment=DBHost=localhost
|
||||
Environment=DBPort=5432
|
||||
Environment=DBName=dnote
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue