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

|
||||
|
@ -18,13 +20,16 @@ A Trello-like application built with React and Redux.
|
|||
|
||||
## Deploy
|
||||
|
||||
**Please note that Planka is NOT released yet, API and database structure may be changed!**
|
||||
|
||||
### Docker Compose
|
||||
|
||||
[](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.
|
||||
- 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 `SECRET_KEY` with random value. You can generate it by `openssl rand -hex 64`.
|
||||
|
||||
Download the docker-compose.yml:
|
||||
|
||||
|
@ -78,11 +83,13 @@ Demo user: demo@demo.demo demo
|
|||
## Roadmap
|
||||
|
||||
- [ ] Move board tabs to the main page, add members directly to a board instead of a project
|
||||
- [ ] Fetch last data after reconnection
|
||||
- [ ] File attachments
|
||||
- [ ] Custom fields
|
||||
- [ ] Public boards
|
||||
- [ ] Member permissions
|
||||
- [ ] Automatic actions
|
||||
|
||||
## 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:
|
||||
- BASE_URL=http://localhost:3000
|
||||
- DATABASE_URL=postgresql://postgres@postgres/planka
|
||||
- SECRET_KEY=notsecretkey
|
||||
depends_on:
|
||||
- postgres
|
||||
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
TZ=UTC
|
||||
BASE_URL=http://localhost:1337
|
||||
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,
|
||||
maxAge: 24 * 60 * 60 * 1000, // 24 hours
|
||||
},
|
||||
|
||||
secret: process.env.SECRET_KEY,
|
||||
},
|
||||
|
||||
/**************************************************************************
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue