mirror of
https://github.com/LemmyNet/lemmy.git
synced 2024-11-05 20:15:01 +00:00
Add instructions for unning db-init.sh to administration_configuration.md
This commit is contained in:
parent
7612a54894
commit
5103878741
1 changed files with 9 additions and 0 deletions
9
docs/src/administration_configuration.md
vendored
9
docs/src/administration_configuration.md
vendored
|
@ -4,3 +4,12 @@ Additionally, you can override any config files with environment variables. Thes
|
||||||
`LEMMY__DATABASE__POOL_SIZE=10`.
|
`LEMMY__DATABASE__POOL_SIZE=10`.
|
||||||
|
|
||||||
An additional option `LEMMY_DATABASE_URL` is available, which can be used with a PostgreSQL connection string like `postgres://lemmy:password@lemmy_db:5432/lemmy`, passing all connection details at once.
|
An additional option `LEMMY_DATABASE_URL` is available, which can be used with a PostgreSQL connection string like `postgres://lemmy:password@lemmy_db:5432/lemmy`, passing all connection details at once.
|
||||||
|
|
||||||
|
If the Docker container is not used, manually create the database specified above by running the following commands:
|
||||||
|
|
||||||
|
```bash
|
||||||
|
# Start at the root of the Lemmy repository
|
||||||
|
|
||||||
|
cd server
|
||||||
|
./db-init.sh
|
||||||
|
```
|
||||||
|
|
Loading…
Reference in a new issue