kopia lustrzana https://github.com/linuxserver/docker-documentation
Update docker-bookstack.md
rodzic
cfce531b36
commit
a30a6ffe1a
|
@ -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 `<external>:<internal>` 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=<yourdbhost>` | for specifying the database host |
|
||||
|
@ -87,6 +94,11 @@ Container images are configured using parameters passed at runtime (such as thos
|
|||
| `-e DB_PASS=<yourdbpass>` | 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
|
||||
|
|
Ładowanie…
Reference in New Issue