Compare commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
793ddd5e20 | ||
|
|
3d84888eb1 |
@@ -23,11 +23,6 @@ services:
|
|||||||
- TRUST_PROXY=0
|
- TRUST_PROXY=0
|
||||||
- DATABASE_URL=postgresql://postgres@postgres/planka
|
- DATABASE_URL=postgresql://postgres@postgres/planka
|
||||||
- SECRET_KEY=notsecretkey
|
- SECRET_KEY=notsecretkey
|
||||||
# related: https://github.com/knex/knex/issues/2354
|
|
||||||
# As knex does not pass query parameters from the connection string we
|
|
||||||
# have to use environment variables in order to pass the desired values, e.g.
|
|
||||||
# note: this is optional
|
|
||||||
# PGSSLMODE=require
|
|
||||||
depends_on:
|
depends_on:
|
||||||
- postgres
|
- postgres
|
||||||
|
|
||||||
|
|||||||
Generated
+2
-2
@@ -1,12 +1,12 @@
|
|||||||
{
|
{
|
||||||
"name": "planka",
|
"name": "planka",
|
||||||
"version": "1.10.3",
|
"version": "1.11.0",
|
||||||
"lockfileVersion": 2,
|
"lockfileVersion": 2,
|
||||||
"requires": true,
|
"requires": true,
|
||||||
"packages": {
|
"packages": {
|
||||||
"": {
|
"": {
|
||||||
"name": "planka",
|
"name": "planka",
|
||||||
"version": "1.10.3",
|
"version": "1.11.0",
|
||||||
"hasInstallScript": true,
|
"hasInstallScript": true,
|
||||||
"license": "AGPL-3.0",
|
"license": "AGPL-3.0",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
|
|||||||
+1
-1
@@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "planka",
|
"name": "planka",
|
||||||
"version": "1.10.3",
|
"version": "1.11.0",
|
||||||
"private": true,
|
"private": true,
|
||||||
"homepage": "https://plankanban.github.io/planka",
|
"homepage": "https://plankanban.github.io/planka",
|
||||||
"repository": {
|
"repository": {
|
||||||
|
|||||||
@@ -9,11 +9,6 @@ SECRET_KEY=notsecretkey
|
|||||||
# TRUST_PROXY=0
|
# TRUST_PROXY=0
|
||||||
# TOKEN_EXPIRES_IN=365 # In days
|
# TOKEN_EXPIRES_IN=365 # In days
|
||||||
|
|
||||||
# related: https://github.com/knex/knex/issues/2354
|
|
||||||
# As knex does not pass query parameters from the connection string we
|
|
||||||
# have to use environment variables in order to pass the desired values, e.g.
|
|
||||||
# PGSSLMODE=<value>
|
|
||||||
|
|
||||||
## Do not edit this
|
## Do not edit this
|
||||||
|
|
||||||
TZ=UTC
|
TZ=UTC
|
||||||
|
|||||||
@@ -8,12 +8,7 @@ dotenv.config({
|
|||||||
|
|
||||||
module.exports = {
|
module.exports = {
|
||||||
client: 'pg',
|
client: 'pg',
|
||||||
connection: {
|
connection: process.env.DATABASE_URL,
|
||||||
connectionString: process.env.DATABASE_URL,
|
|
||||||
ssl: {
|
|
||||||
rejectUnauthorized: false,
|
|
||||||
},
|
|
||||||
},
|
|
||||||
migrations: {
|
migrations: {
|
||||||
tableName: 'migration',
|
tableName: 'migration',
|
||||||
directory: path.join(__dirname, 'migrations'),
|
directory: path.join(__dirname, 'migrations'),
|
||||||
|
|||||||
Reference in New Issue
Block a user