(Grav GitSync) Automatic Commit from RealStickman

This commit is contained in:
RealStickman 2022-06-30 10:55:11 +02:00 committed by GitSync
parent 0264554fbb
commit 5f7a7874cf

View File

@ -26,14 +26,14 @@ Create database used by hedgedoc
```
# podman run -d --name hedgedoc \
-e CMD_DB_URL=postgres://postgres:hedgedoc@localhost:5432/hedgedocdb \
-e CMD_DOMAIN=(url) \
-e CMD_PROTOCOL_USESSL=true \
-e CMD_ALLOW_ANONYMOUS=false \
-e CMD_ALLOW_ANONYMOUS_EDITS=true \
-e CMD_DEFAULT_PERMISSION=private \
-e CMD_ALLOW_EMAIL_REGISTER=false \
-v /mnt/hedgedoc:/hedgedoc/public/uploads \
--pod pod_hedgedoc \
-e CMD_DOMAIN=(url) \
-e CMD_PROTOCOL_USESSL=true \
-e CMD_ALLOW_ANONYMOUS=false \
-e CMD_ALLOW_ANONYMOUS_EDITS=true \
-e CMD_DEFAULT_PERMISSION=private \
-e CMD_ALLOW_EMAIL_REGISTER=false \
-v /mnt/hedgedoc:/hedgedoc/public/uploads \
--pod pod_hedgedoc \
quay.io/hedgedoc/hedgedoc:latest
```
Because `CMD_ALLOW_EMAIL_REGISTER` is set to `false`, registration of new users has to be done through the CLI interface using `bin/manage_users` in the container.