mirror of
https://github.com/dnote/dnote
synced 2026-03-14 22:45:50 +01:00
Run server on port 3001 (#687)
* Simplify docker compose file * Run on port 3001
This commit is contained in:
parent
162ceb4ad1
commit
ca5af5e34a
17 changed files with 45 additions and 36 deletions
|
|
@ -23,7 +23,7 @@ cp "$basePath"/pkg/server/assets/static/* "$basePath/pkg/server/static"
|
|||
# run server
|
||||
moduleName="github.com/dnote/dnote"
|
||||
ldflags="-X '$moduleName/pkg/server/buildinfo.CSSFiles=main.css' -X '$moduleName/pkg/server/buildinfo.JSFiles=main.js' -X '$moduleName/pkg/server/buildinfo.Version=dev' -X '$moduleName/pkg/server/buildinfo.Standalone=true'"
|
||||
task="go run -ldflags \"$ldflags\" --tags fts5 main.go start -port 3000"
|
||||
task="go run -ldflags \"$ldflags\" --tags fts5 main.go start -port 3001"
|
||||
|
||||
(
|
||||
cd "$basePath/pkg/watcher" && \
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue