@@ -90,13 +90,11 @@ Images are built for `amd64` by default, with optional support for `arm64` and o
9090
9191The following directories are used for configuration and can be mapped for persistent storage.
9292
93- | Directory | Description |
94- | ---------------------------------- | ------------------------------------------------------- |
95- | ` /certs/ ` | (optional) Drop TLS Certificates here |
96- | ` /var/lib/postgresql/data/conf.d/ ` | Supplemental Configuration directory, loaded at startup |
97- | ` /var/lib/postgresql/ ` | Configuration Directory |
98- | ` /var/lib/postgresql/data/ ` | Databases |
99- | ` /logs/ ` | Logfiles |
93+ | Directory | Description |
94+ | --------- | ------------------------------------- |
95+ | ` /certs/ ` | (optional) Drop TLS Certificates here |
96+ | ` /data/ ` | Databases |
97+ | ` /logs/ ` | Logfiles |
10098
10199### Environment Variables
102100
@@ -105,10 +103,9 @@ The following directories are used for configuration and can be mapped for persi
105103This image relies on a customized base image in order to work.
106104Be sure to view the following repositories to understand all the customizable options:
107105
108- | Image | Description |
109- | ------------------------------------------------------- | ------------------------------------------------------- |
110- | [ OS Base] ( https://github.com/nfrastack/container-base/ ) | Base Image |
111- | [ Nginx] ( https://github.com/nfrastack/container-base/ ) | Nginx webserver to proxy to postgres for added security |
106+ | Image | Description |
107+ | ------------------------------------------------------- | ----------- |
108+ | [ OS Base] ( https://github.com/nfrastack/container-base/ ) | Base Image |
112109
113110Below is the complete list of available options that can be used to customize your installation.
114111
@@ -118,26 +115,24 @@ Below is the complete list of available options that can be used to customize yo
118115
119116#### Container Options
120117
121- | Parameter | Description | Default |
122- | ---------------------------- | ---------------------------------------------------------------------------------------------------------- | --------------------------- |
123- | ` CERT_PATH ` | Certificates location | ` /certs/ ` |
124- | ` CONFIG_CUSTOM_PATH ` | Custom location for configuration | ` ${CONFIG_PATH}/conf.d ` |
125- | ` CONFIG_FILE ` | Configuration file | ` postgresql.conf ` |
126- | ` CONFIG_MODE ` | Configuration mode ` DEFAULT ` - To be used at a later release | ` DEFAULT ` |
127- | ` CONFIG_PATH ` | Configuration storage | ` ${DATA_PATH} ` |
128- | ` DATA_PATH ` | Database storage | ` /var/lib/postgresql/data/ ` |
129- | ` HBA_FILE ` | Host based access file name | ` pg_hba.conf ` |
130- | ` IDENT_FILE ` | Identity file name | ` pg_ident.conf ` |
131- | ` LOG_FILE ` | Logfile name | ` postgresql.log ` |
132- | ` LOG_FORMAT ` | Log format ` NORMAL ` ` JSON ` or ` CSV ` Filename extension will change from ` .log ` to either ` .json ` or ` .csv ` | ` NORMAL ` |
133- | ` LOG_LEVEL ` | Log level messages | ` WARNING ` |
134- | | Values can be in descending detail ` DEBUG5 ` ,` DEBUG4 ` ,` DEBUG3 ` ,` DEBUG2 ` ,` DEBUG1 ` , | |
135- | | ` INFO ` ,` NOTICE ` ,` WARNING ` ,` ERROR ` ,` LOG ` ,` FATAL ` ,` PANIC ` | |
136- | ` LOG_LEVEL_ERROR_STATEMENTS ` | Log level for errors | ` ERROR ` |
137- | ` LOG_PATH ` | Store log files here | ` /logs/ ` |
138- | ` LOG_TYPE ` | Log Type ` CONSOLE ` or ` FILE ` | ` FILE ` |
139- | ` SETUP_MODE ` | ` AUTO ` generate configuration files based on env vars | ` AUTO ` |
140- | ` WAL_PATH ` | Write ahead log path if needing to be seperate from ` DATA_PATH ` | |
118+ | Parameter | Description | Default |
119+ | ---------------------------- | ---------------------------------------------------------------------------------------------------------- | ----------------------------- |
120+ | ` CERT_PATH ` | Certificates location | ` /certs/ ` |
121+ | ` CONFIG_PATH ` | Custom location for configuration e.g ` /config/ ` - Drop custom .conf files here | |
122+ | ` CONFIG_MODE ` | Configuration mode ` CORE ` ` DEFAULT ` - To be used at a later release | ` CORE ` |
123+ | ` DATA_PATH ` | Database storage | ` /data/ ` |
124+ | ` HBA_FILE ` | Host based access file name | ` /etc/postgres/pg_hba.conf ` |
125+ | ` IDENT_FILE ` | Identity file name | ` /etc/postgres/pg_ident.conf ` |
126+ | ` LOG_FILE ` | Logfile name | ` postgresql.log ` |
127+ | ` LOG_FORMAT ` | Log format ` NORMAL ` ` JSON ` or ` CSV ` Filename extension will change from ` .log ` to either ` .json ` or ` .csv ` | ` NORMAL ` |
128+ | ` LOG_LEVEL ` | Log level messages | ` WARNING ` |
129+ | | Values can be in descending detail ` DEBUG5 ` ,` DEBUG4 ` ,` DEBUG3 ` ,` DEBUG2 ` ,` DEBUG1 ` , | |
130+ | | ` INFO ` ,` NOTICE ` ,` WARNING ` ,` ERROR ` ,` LOG ` ,` FATAL ` ,` PANIC ` | |
131+ | ` LOG_LEVEL_ERROR_STATEMENTS ` | Log level for errors | ` ERROR ` |
132+ | ` LOG_PATH ` | Store log files here | ` /logs/ ` |
133+ | ` LOG_TYPE ` | Log Type ` CONSOLE ` or ` FILE ` | ` FILE ` |
134+ | ` SETUP_MODE ` | ` AUTO ` generate configuration files based on env vars | ` AUTO ` |
135+ | ` WAL_PATH ` | Write ahead log path if needing to be seperate from ` DATA_PATH ` | |
141136
142137#### Server Options
143138
0 commit comments