From a30a6ffe1a869b2683bdc15a794d04aadf5b0f60 Mon Sep 17 00:00:00 2001 From: Josh Stark Date: Sun, 27 Jan 2019 11:46:05 +0000 Subject: [PATCH] Update docker-bookstack.md --- images/docker-bookstack.md | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) diff --git a/images/docker-bookstack.md b/images/docker-bookstack.md index 41f7b9021..987fcbb24 100644 --- a/images/docker-bookstack.md +++ b/images/docker-bookstack.md @@ -77,9 +77,16 @@ services: Container images are configured using parameters passed at runtime (such as those above). These parameters are separated by a colon and indicate `:` respectively. For example, `-p 8080:80` would expose port `80` from inside the container to be accessible from the host's IP on port `8080` outside the container. -| Parameter | Function | +### Ports (`-p`) + +| Port | Function | | :----: | --- | | `-p 80` | will map the container's port 80 to port 6875 on the host | + +### Environment Variables (`-e`) + +| Env | Function | +| :----: | --- | | `-e PUID=1001` | for UserID - see below for explanation | | `-e PGID=1001` | for GroupID - see below for explanation | | `-e DB_HOST=` | for specifying the database host | @@ -87,6 +94,11 @@ Container images are configured using parameters passed at runtime (such as thos | `-e DB_PASS=` | for specifying the database password | | `-e DB_DATABASE=bookstackapp` | for specifying the database to be used | | `-e APPURL=your.site.here.xyz` | for specifying the url your application will be accessed on | + +### Volume Mappings (`-v`) + +| Volume | Function | +| :----: | --- | | `-v /config` | this will store any uploaded data on the docker host | ## User / Group Identifiers