(Grav GitSync) Automatic Commit from RealStickman
This commit is contained in:
parent
5f7a7874cf
commit
5999bc5565
@ -3,11 +3,12 @@ title: Hedgedoc
|
||||
---
|
||||
|
||||
[toc]
|
||||
## Network and Pod
|
||||
## Podman
|
||||
### Network and Pod
|
||||
`# podman network create net_hedgedoc`
|
||||
`# podman pod create --name pod_hedgedoc --network net_hedgedoc -p 127.0.0.1:5432:5432 -p 3005:3000`
|
||||
|
||||
## Database
|
||||
### Database
|
||||
```
|
||||
# podman run --name hedgedocdb \
|
||||
-e POSTGRES_PASSWORD=hedgedoc \
|
||||
@ -22,7 +23,7 @@ title: Hedgedoc
|
||||
Create database used by hedgedoc
|
||||
`=# CREATE DATABASE hedgedocdb;`
|
||||
|
||||
## Application
|
||||
### Application
|
||||
```
|
||||
# podman run -d --name hedgedoc \
|
||||
-e CMD_DB_URL=postgres://postgres:hedgedoc@localhost:5432/hedgedocdb \
|
||||
@ -36,6 +37,8 @@ Create database used by hedgedoc
|
||||
--pod pod_hedgedoc \
|
||||
quay.io/hedgedoc/hedgedoc:latest
|
||||
```
|
||||
## Management
|
||||
### Create user
|
||||
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.
|
||||
|
||||
`# podman exec -it hedgedocdb bash`
|
||||
|
Loading…
Reference in New Issue
Block a user