|
|
|
@ -9,8 +9,8 @@ To achieve this in the easiest way use a docker-compose file
|
|
|
|
|
Set the following environment-variables in the `environment:` section of the
|
|
|
|
|
docker-compose file.
|
|
|
|
|
|
|
|
|
|
| Name | Usage | Default |
|
|
|
|
|
| ------------------------ | ----------------------------- | ------- |
|
|
|
|
|
| Name | Usage | Default |
|
|
|
|
|
| ------------------------ | -------------------------------- | ------- |
|
|
|
|
|
| `POSTGRES_ROOT_PASSWORD` | set the postgres admin password | |
|
|
|
|
|
| `POSTGRES_USER` | set the postgres username | |
|
|
|
|
|
| `POSTGRES_PASSWORD` | set the postgres user password | |
|
|
|
|
@ -20,10 +20,10 @@ docker-compose file.
|
|
|
|
|
|
|
|
|
|
Set the following volumes in the `volumes:` section of the docker-compose file.
|
|
|
|
|
|
|
|
|
|
| Volume-Name | Container mount | Description |
|
|
|
|
|
| ----------------- | -------------------------- | ---------------------------- |
|
|
|
|
|
| `postgres` | `/var/lib/postgresql/data` | storage for owncloud data |
|
|
|
|
|
| `postgres_config` | `/config/sql` | initial sql setup and config |
|
|
|
|
|
| Outside mount/volume name | Container mount | Description |
|
|
|
|
|
| ------------------------- | -------------------------- | ---------------------------- |
|
|
|
|
|
| `postgres` | `/var/lib/postgresql/data` | storage for owncloud data |
|
|
|
|
|
| `postgres_config` | `/config/sql` | initial sql setup and config |
|
|
|
|
|
|
|
|
|
|
## Networks
|
|
|
|
|
|
|
|
|
|