2024-01-05 16:18:48 +00:00
|
|
|
# Pixelfed + Docker + Docker Compose
|
|
|
|
|
|
|
|
## Prerequisites
|
|
|
|
|
|
|
|
* One of the `docker-compose.yml` files in this directory
|
2024-01-05 16:27:11 +00:00
|
|
|
* A copy of the `example.env` file named `.env` next to `docker-compose.yml`
|
2024-01-05 16:18:48 +00:00
|
|
|
|
2024-01-05 16:27:11 +00:00
|
|
|
Your folder should look like this
|
2024-01-05 16:18:48 +00:00
|
|
|
|
2024-01-05 16:27:11 +00:00
|
|
|
```plain
|
|
|
|
.
|
|
|
|
├── .env
|
|
|
|
└── docker-compose.yml
|
|
|
|
```
|
2024-01-05 16:18:48 +00:00
|
|
|
|
2024-01-05 16:27:11 +00:00
|
|
|
## Modifying your settings (`.env` file)
|
|
|
|
|
2024-01-05 17:35:07 +00:00
|
|
|
Minimum required settings to change is:
|
|
|
|
|
2024-01-05 16:27:11 +00:00
|
|
|
* `APP_NAME`
|
|
|
|
* `APP_DOMAIN`
|
|
|
|
* `DB_PASSWORD`
|
2024-01-05 17:35:07 +00:00
|
|
|
|
|
|
|
See the [`Configure environment variables`](https://docs.pixelfed.org/running-pixelfed/installation/#app-variables) documentation for details!
|
|
|
|
|
|
|
|
You need to mainly focus on following sections
|
|
|
|
|
|
|
|
* [App variables](https://docs.pixelfed.org/running-pixelfed/installation/#app-variables)
|
|
|
|
* [Email variables](https://docs.pixelfed.org/running-pixelfed/installation/#email-variables)
|
|
|
|
|
|
|
|
Since the following things are configured for you out of the box:
|
|
|
|
|
|
|
|
* `Redis`
|
|
|
|
* `Database` (except for `DB_PASSWORD`)
|