Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
N
nexpie-grafana-theme
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Registry
Registry
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Kornkitt Poolsup
nexpie-grafana-theme
Commits
824357ed
Commit
824357ed
authored
Mar 01, 2017
by
Carl Bergquist
Committed by
GitHub
Mar 01, 2017
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #7694 from rickard-von-essen/patch-1
Added some details about Sessions in Postgres
parents
06146b80
573bcdde
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
12 additions
and
1 deletions
+12
-1
docs/sources/installation/configuration.md
+12
-1
No files found.
docs/sources/installation/configuration.md
View file @
824357ed
...
@@ -457,7 +457,7 @@ session provider you have configured.
...
@@ -457,7 +457,7 @@ session provider you have configured.
-
**file:**
session file path, e.g.
`data/sessions`
-
**file:**
session file path, e.g.
`data/sessions`
-
**mysql:**
go-sql-driver/mysql dsn config string, e.g.
`user:password@tcp(127.0.0.1:3306)/database_name`
-
**mysql:**
go-sql-driver/mysql dsn config string, e.g.
`user:password@tcp(127.0.0.1:3306)/database_name`
-
**postgres:**
ex: user=a password=b host=localhost port=5432 dbname=c sslmode=
disabl
e
-
**postgres:**
ex: user=a password=b host=localhost port=5432 dbname=c sslmode=
requir
e
-
**memcache:**
ex: 127.0.0.1:11211
-
**memcache:**
ex: 127.0.0.1:11211
-
**redis:**
ex:
`addr=127.0.0.1:6379,pool_size=100,prefix=grafana`
-
**redis:**
ex:
`addr=127.0.0.1:6379,pool_size=100,prefix=grafana`
...
@@ -472,6 +472,17 @@ Mysql Example:
...
@@ -472,6 +472,17 @@ Mysql Example:
`expiry` INT(11) UNSIGNED NOT NULL,
`expiry` INT(11) UNSIGNED NOT NULL,
PRIMARY KEY (`key`)
PRIMARY KEY (`key`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8;
) ENGINE=MyISAM DEFAULT CHARSET=utf8;
Postgres Example:
CREATE TABLE session (
key CHAR(16) NOT NULL,
data BYTEA,
expiry INTEGER NOT NULL,
PRIMARY KEY (key)
);
Postgres valid
`sslmode`
are
`disable`
,
`require`
(default),
`verify-ca`
, and
`verify-full`
.
### cookie_name
### cookie_name
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment