2.0.2 • Published 7 months ago

task.json-server v2.0.2

Weekly downloads
64
License
AGPL-3.0
Repository
-
Last release
7 months ago

task.json-server

Docker Image Size npm version license

Sync server for task.json. It supports automatic conflicts handling and merging.

Installation

npm

npm i -g task.json-server

Docker registry

docker pull dcsunset/task.json-server
podman pull docker.io/dcsunset/task.json-server

Usage

If installed from npm:

NODE_ENV=production TJ_PASSWORD="mypass" TJ_JWT_SECRET="random" tj-server

If installed from docker registry:

docker run -d --name task.json-server -p 3000:3000 -v $PWD/data:/data dcsunset/task.json-server

Configurations can be set via environment variables. Available configurations are listed below:

VariablesDefaultDescription
TJ_ADDR0.0.0.0Address to listen at (default to "localhost" in dev environment)
TJ_PORT3000Port to listen at
TJ_DATA_PATH./dataAbsolute directory to store task.json
TJ_PASSWORDadminLogin password (should always change it)
TJ_JWT_SECRETsecretSecret used to sign JWT (should always change it)
TJ_JWT_EXPIRES_IN60dThe time JWT expires in (e.g. "60", "2m", "10h", "7d", default using ms if no unit)

License

All code licensed under AGPL-3.0. Full copyright notice:

task.json-server
Copyright (C) 2021-2023  DCsunset

This program is free software: you can redistribute it and/or modify
it under the terms of the GNU Affero General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.

This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
GNU Affero General Public License for more details.

You should have received a copy of the GNU Affero General Public License
along with this program.  If not, see <https://www.gnu.org/licenses/>.
2.0.2

7 months ago

2.0.1

1 year ago

1.1.0

3 years ago

1.0.0

3 years ago

0.1.2

3 years ago

0.1.1

3 years ago

0.1.0

3 years ago