kopia lustrzana https://github.com/linuxserver/docker-documentation
Bot Updating Documentation
rodzic
58074011ee
commit
6a99d88aab
|
@ -42,7 +42,7 @@ HedgeDoc web interface can be accessed `http://${IP}:3000/`, if you want to use
|
|||
|
||||
[Full list of HedgeDoc options](https://docs.hedgedoc.org/configuration/)
|
||||
|
||||
For convenience we provide a working example using Mysql as a backend in this document, if you do not wish to use our custom environment values or a Mysql database backend feel free to leverage any of the settings laid out in the link above.
|
||||
For convenience we provide a working example using Mariadb as a backend in this document.
|
||||
|
||||
To run behind a reverse proxy we have a [preconfigured config](https://github.com/linuxserver/reverse-proxy-confs/blob/master/hedgedoc.subdomain.conf.sample) using docker networking included in our [SWAG](https://github.com/linuxserver/docker-swag) image and you can read how to use this in the [Reverse Proxy Confs repository](https://github.com/linuxserver/reverse-proxy-confs/#how-to-use-these-reverse-proxy-configs)
|
||||
|
||||
|
@ -72,6 +72,7 @@ services:
|
|||
- CMD_PROTOCOL_USESSL=false #optional
|
||||
- CMD_PORT=3000 #optional
|
||||
- CMD_ALLOW_ORIGIN=['localhost'] #optional
|
||||
- CMD_DB_DIALECT= #optional
|
||||
volumes:
|
||||
- /path/to/hedgedoc/config:/config
|
||||
ports:
|
||||
|
@ -97,6 +98,7 @@ docker run -d \
|
|||
-e CMD_PROTOCOL_USESSL=false `#optional` \
|
||||
-e CMD_PORT=3000 `#optional` \
|
||||
-e CMD_ALLOW_ORIGIN=['localhost'] `#optional` \
|
||||
-e CMD_DB_DIALECT= `#optional` \
|
||||
-p 3000:3000 \
|
||||
-v /path/to/hedgedoc/config:/config \
|
||||
--restart unless-stopped \
|
||||
|
@ -120,8 +122,8 @@ Containers are configured using parameters passed at runtime (such as those abov
|
|||
| `PUID=1000` | for UserID - see below for explanation |
|
||||
| `PGID=1000` | for GroupID - see below for explanation |
|
||||
| `TZ=Etc/UTC` | specify a timezone to use, see this [list](https://en.wikipedia.org/wiki/List_of_tz_database_time_zones#List). |
|
||||
| `DB_HOST=<hostname or ip>` | Host address of mysql database |
|
||||
| `DB_PORT=3306` | Port to access mysql database default is 3306 |
|
||||
| `DB_HOST=<hostname or ip>` | Host address of mariadb database |
|
||||
| `DB_PORT=3306` | Port to access mariadb database default is 3306 |
|
||||
| `DB_USER=hedgedoc` | Database user |
|
||||
| `DB_PASS=<secret password>` | Database password |
|
||||
| `DB_NAME=hedgedoc` | Database name |
|
||||
|
@ -130,6 +132,7 @@ Containers are configured using parameters passed at runtime (such as those abov
|
|||
| `CMD_PROTOCOL_USESSL=false` | Set to `true` if accessing over https via reverse proxy. |
|
||||
| `CMD_PORT=3000` | If you wish to access hedgedoc at a port different than 80, 443 or 3000, you need to set this to that port (ie. `CMD_PORT=5000`) and change the port mapping accordingly (5000:5000). |
|
||||
| `CMD_ALLOW_ORIGIN=['localhost']` | Comma-separated list of allowed hostnames |
|
||||
| `CMD_DB_DIALECT=` | This variable allows selecting a database engine (if DB_HOST not set up). Available options are: `mariadb`, `mysql`, `postgres`, `sqlite`. |
|
||||
|
||||
### Volume Mappings (`-v`)
|
||||
|
||||
|
@ -305,6 +308,7 @@ Once registered you can define the dockerfile to use with `-f Dockerfile.aarch64
|
|||
|
||||
## Versions
|
||||
|
||||
* **21.06.24:** - Allow using `CMD_DB_DIALECT` to set up the `CMD_DB_URL`.
|
||||
* **06.06.24:** - Rebase to Alpine 3.20.
|
||||
* **23.12.23:** - Rebase to Alpine 3.19.
|
||||
* **18.06.23:** - Rebase to Alpine 3.18, deprecate armhf as per [https://www.linuxserver.io/armhf](https://www.linuxserver.io/armhf).
|
||||
|
|
Ładowanie…
Reference in New Issue