mirror of
https://github.com/plankanban/planka.git
synced 2025-07-24 07:39:44 +02:00
Add secret key to environment variables, update readme
This commit is contained in:
parent
0eef38da66
commit
64acf0ac56
5 changed files with 13 additions and 2 deletions
11
README.md
11
README.md
|
@ -1,5 +1,7 @@
|
||||||
# Planka
|
# Planka
|
||||||
|
|
||||||
|
 
|
||||||
|
|
||||||
A Trello-like application built with React and Redux.
|
A Trello-like application built with React and Redux.
|
||||||
|
|
||||||

|

|
||||||
|
@ -18,13 +20,16 @@ A Trello-like application built with React and Redux.
|
||||||
|
|
||||||
## Deploy
|
## Deploy
|
||||||
|
|
||||||
|
**Please note that Planka is NOT released yet, API and database structure may be changed!**
|
||||||
|
|
||||||
### Docker Compose
|
### Docker Compose
|
||||||
|
|
||||||
[](https://hub.docker.com/r/meltyshev/planka)
|
[](https://hub.docker.com/r/meltyshev/planka)
|
||||||
|
|
||||||
- Make sure you have [Docker](https://docs.docker.com/install/) and [Docker Compose](https://docs.docker.com/compose/install/) installed and operational.
|
- Make sure you have [Docker](https://docs.docker.com/install/) and [Docker Compose](https://docs.docker.com/compose/install/) installed and operational.
|
||||||
- Create `docker-compose.yml` based on [the example](./docker-compose.yml). This is the ONLY file you will need. You can create this file on your own machine by copy and pasting the content.
|
- Create `docker-compose.yml` based on [the example](https://raw.githubusercontent.com/meltyshev/planka/master/docker-compose.yml). This is the ONLY file you will need. You can create this file on your own machine by copy and pasting the content.
|
||||||
- Edit `BASE_URL` to match your domain name or IP address.
|
- Edit `BASE_URL` to match your domain name or IP address.
|
||||||
|
- Edit `SECRET_KEY` with random value. You can generate it by `openssl rand -hex 64`.
|
||||||
|
|
||||||
Download the docker-compose.yml:
|
Download the docker-compose.yml:
|
||||||
|
|
||||||
|
@ -78,11 +83,13 @@ Demo user: demo@demo.demo demo
|
||||||
## Roadmap
|
## Roadmap
|
||||||
|
|
||||||
- [ ] Move board tabs to the main page, add members directly to a board instead of a project
|
- [ ] Move board tabs to the main page, add members directly to a board instead of a project
|
||||||
|
- [ ] Fetch last data after reconnection
|
||||||
- [ ] File attachments
|
- [ ] File attachments
|
||||||
- [ ] Custom fields
|
- [ ] Custom fields
|
||||||
- [ ] Public boards
|
- [ ] Public boards
|
||||||
- [ ] Member permissions
|
- [ ] Member permissions
|
||||||
|
- [ ] Automatic actions
|
||||||
|
|
||||||
## License
|
## License
|
||||||
|
|
||||||
Planka is [MIT licensed](./LICENSE).
|
Planka is [MIT licensed](https://github.com/meltyshev/planka/blob/master/LICENSE).
|
||||||
|
|
BIN
client/public/favicon.ico
Executable file → Normal file
BIN
client/public/favicon.ico
Executable file → Normal file
Binary file not shown.
Before Width: | Height: | Size: 3.8 KiB After Width: | Height: | Size: 22 KiB |
|
@ -19,6 +19,7 @@ services:
|
||||||
environment:
|
environment:
|
||||||
- BASE_URL=http://localhost:3000
|
- BASE_URL=http://localhost:3000
|
||||||
- DATABASE_URL=postgresql://postgres@postgres/planka
|
- DATABASE_URL=postgresql://postgres@postgres/planka
|
||||||
|
- SECRET_KEY=notsecretkey
|
||||||
depends_on:
|
depends_on:
|
||||||
- postgres
|
- postgres
|
||||||
|
|
||||||
|
|
|
@ -1,3 +1,4 @@
|
||||||
TZ=UTC
|
TZ=UTC
|
||||||
BASE_URL=http://localhost:1337
|
BASE_URL=http://localhost:1337
|
||||||
DATABASE_URL=postgresql://localhost/planka
|
DATABASE_URL=postgresql://localhost/planka
|
||||||
|
SECRET_KEY=notsecretkey
|
||||||
|
|
2
server/config/env/production.js
vendored
2
server/config/env/production.js
vendored
|
@ -222,6 +222,8 @@ module.exports = {
|
||||||
// secure: true,
|
// secure: true,
|
||||||
maxAge: 24 * 60 * 60 * 1000, // 24 hours
|
maxAge: 24 * 60 * 60 * 1000, // 24 hours
|
||||||
},
|
},
|
||||||
|
|
||||||
|
secret: process.env.SECRET_KEY,
|
||||||
},
|
},
|
||||||
|
|
||||||
/**************************************************************************
|
/**************************************************************************
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue