Skip to content

Commit e066734

Browse files
author
Aaron Schlesinger
committed
doc(src/installing-deis/configuring-object-storage.md): adding more database config info
1 parent 238a71f commit e066734

1 file changed

Lines changed: 13 additions & 1 deletion

File tree

src/installing-deis/configuring-object-storage.md

Lines changed: 13 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -98,9 +98,19 @@ The registry reads credentials from the below locations on the filesystem.
9898

9999
## [deis/database](https://github.com/deis/postgres)
100100

101+
The database is configured slightly differently from the other components. It looks for an environment variable which it then uses as a key to look up the object storage configuration in a config file.
102+
101103
### Environment Variables
102104

103-
TODO
105+
The database looks for the `DATABASE_STORAGE` environment variable to determine what object storage system to use. Valid values are listed below and the [Helm chart for Deis](https://github.com/deis/charts/tree/master/deis-dev) defaults to `minio`:
106+
107+
- filesystem: Store persistent data on ephemeral disk
108+
- s3: Store persistent data in AWS S3 (configure in S3 section)
109+
- azure: Store persistent data in Azure's object storage
110+
- gcs: Store persistent data in Google Cloud Storage
111+
- minio: Store persistent data on in-cluster Minio server
112+
113+
(TODO: is this correct?)
104114

105115
### Credentials
106116

@@ -109,6 +119,8 @@ The database reads credentials from the below locations on the filesystem.
109119
- Key: `/etc/wal-e.d/env/access-key-id`
110120
- Secret: `/etc/wal-e.d/env/access-key-secret`
111121

122+
(TODO: is this still correct?)
123+
112124

113125
# Limitations
114126

0 commit comments

Comments
 (0)