Update docker-bookstack.md

pull/1/head
Josh Stark 2019-01-27 11:46:05 +00:00 zatwierdzone przez GitHub
rodzic cfce531b36
commit a30a6ffe1a
Nie znaleziono w bazie danych klucza dla tego podpisu
ID klucza GPG: 4AEE18F83AFDEB23
1 zmienionych plików z 13 dodań i 1 usunięć

Wyświetl plik

@ -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