Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
slapos
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Boxiang Sun
slapos
Commits
d1797e84
Commit
d1797e84
authored
Apr 08, 2020
by
Jérome Perrin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
recipe/postgres: update docstring to describe actual behavior
parent
72bffde5
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
11 additions
and
6 deletions
+11
-6
slapos/recipe/postgres/__init__.py
slapos/recipe/postgres/__init__.py
+11
-6
No files found.
slapos/recipe/postgres/__init__.py
View file @
d1797e84
...
@@ -42,7 +42,8 @@ class Recipe(GenericBaseRecipe):
...
@@ -42,7 +42,8 @@ class Recipe(GenericBaseRecipe):
- a Postgres cluster
- a Postgres cluster
- configuration to allow connections from IPv4, IPv6 or unix socket.
- configuration to allow connections from IPv4, IPv6 or unix socket.
- a superuser with provided name and generated password
IPv4 and IPv6 can be disabled, unix socket will always be available.
- a superuser with provided name and password
- a database with provided name
- a database with provided name
- a start script in the services directory
- a start script in the services directory
...
@@ -52,21 +53,25 @@ class Recipe(GenericBaseRecipe):
...
@@ -52,21 +53,25 @@ class Recipe(GenericBaseRecipe):
dbname
dbname
name of the database to be used by the application.
name of the database to be used by the application.
ipv4
ipv4
set of ipv4 to listen on
.
ipv4 to listen on, can be multiple ips or can be empty
.
ipv6
ipv6
set of ipv6 to listen on.
ipv6 to listen on, can be multiple ips or can be empty.
ipv6-random
main ipv6 to listen on, can be empty.
port
port to listen on, same for both IPv4 and IPv6.
pgdata-directory
pgdata-directory
path to postgres configuration and data.
path to postgres configuration and data.
services
services
must be ${buildout:directory}/etc/service.
must be ${buildout:directory}/etc/service.
superuser
superuser
name of the superuser to create.
name of the superuser to create.
password
password for the superuser.
Exposed options:
Exposed options:
password
generated password for the superuser.
url
url
generated DBAPI connection string
.
generated DBAPI connection string
, on IPv6
it can be used as-is (ie. in sqlalchemy) or by the _urlparse.py recipe.
it can be used as-is (ie. in sqlalchemy) or by the _urlparse.py recipe.
"""
"""
...
...
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