Valentin Lab
115fb33060
|
7 months ago | |
---|---|---|
.. | ||
actions | 1 year ago | |
build | 2 years ago | |
hooks | 8 months ago | |
lib | 3 years ago | |
resources/bin | 5 years ago | |
README.org | 2 years ago | |
metadata.yml | 8 months ago |
README.org
Usage
By default, postgres
charm won't need any options in general.
However, services using postgres
through relations will typically
want to set some options (if the default behavior is not enough).
myservice: relations: postgres-database: postgres: dbname: foo ## default uses the name of querying service (here: 'myservice') user: mydbuser ## default uses the name of querying service (here: 'myservice') password: bar ## if not set, a random password will be generated extensions: ## default is empty list - unaccent - pg_trgm init-sql: !bash-stdout | ## default is empty zcat "$BASE_CHARM_PATH/src/init.sql.gz"