1
0
Fork 0
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:
Maksim Eltyshev 2019-10-04 04:19:46 +05:00
parent 796917a0eb
commit b64f5b7b4a
5 changed files with 13 additions and 2 deletions

View file

@ -1,5 +1,7 @@
# Planka
![Docker Cloud Build Status](https://img.shields.io/docker/cloud/build/meltyshev/planka) ![GitHub](https://img.shields.io/github/license/meltyshev/planka)
A Trello-like application built with React and Redux.
![](https://raw.githubusercontent.com/meltyshev/planka/master/demo.gif)
@ -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://d207aa93qlcgug.cloudfront.net/1.95.5.qa/img/nav/docker-logo-loggedout.png)](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

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.8 KiB

After

Width:  |  Height:  |  Size: 22 KiB

Before After
Before After

View file

@ -19,6 +19,7 @@ services:
environment:
- BASE_URL=http://localhost:3000
- DATABASE_URL=postgresql://postgres@postgres/planka
- SECRET_KEY=notsecretkey
depends_on:
- postgres

View file

@ -1,3 +1,4 @@
TZ=UTC
BASE_URL=http://localhost:1337
DATABASE_URL=postgresql://localhost/planka
SECRET_KEY=notsecretkey

View file

@ -222,6 +222,8 @@ module.exports = {
// secure: true,
maxAge: 24 * 60 * 60 * 1000, // 24 hours
},
secret: process.env.SECRET_KEY,
},
/**************************************************************************