passwordz

This commit is contained in:
M33 2022-01-06 21:24:16 +00:00
parent 7acd733d48
commit 08f4c69b4f

View file

@ -35,6 +35,60 @@ This particular setting in your instance configuration yaml in the `.config/defa
signToActivityPubGet: true signToActivityPubGet: true
``` ```
## Set a password to postgresql and redis databases
### Postgresql
The default Misskey configuration files provies all you need to set a user and password for your postgresql container.
Set the exact same values in Misskey's config file `default.yml` and the environment files loaded with the postgresql container `docker.env`
The `.config/default.yml` file should contains:
```
# ┌──────────────────────────┐
#───┘ PostgreSQL configuration └────────────────────────────────
db:
#loclahost
host: db
port: 5432
# Database name
db: misskey
# Auth
user: your_username_goes_here
pass: your_super_password_goes_here
(...)
```
The `.config/docker.env` file should contains:
```
# db settings
POSTGRES_PASSWORD=your_username_goes_here
POSTGRES_USER=your_super_password_goes_here-user
(...)
```
### Redis
Pay attention to the `command:` and `volumes` lines of the redis chapter in the yaml template `miskey-arm64.yml`.
They are added here to help the redis container to load its configuration file (with a required password inside), it will match the reddis password in Misskey's configuration file `default.yml`.
The `.config/default.yml` file should contains:
```
# ┌─────────────────────┐
#───┘ Redis configuration └─────────────────────────────────────
redis:
#localhost
host: redis
port: 6379
pass: your_redis_super_password_goes_here
(...)
```
The `.config/redis.conf` file should contains:
```
requirepass your_redis_super_password_goes_here
```
## Fill your global timeline with relays ## Fill your global timeline with relays
Bootstraping a new instance, solo or small sized, is a real pain. You will see only content from people you follow. A solution to fill your TL is to register your instance to relays, that will repeat content from others instances to your TL. Bootstraping a new instance, solo or small sized, is a real pain. You will see only content from people you follow. A solution to fill your TL is to register your instance to relays, that will repeat content from others instances to your TL.
Here is a list of popular relays: Here is a list of popular relays: