Run pixelfed in a docker compose environment
You need to have the following tools :
docker
with the compose plugin.
Pull the docker images
docker compose pull
Run the setup script
./setup.sh
Start the database
docker compose up -d database
Run the migrations
docker compose --profile migration up pixelfed-migrations
Start the whole stack
docker compose up -d
Get a shell inside the pixelfed container (to run commands like php artisan user:create
e.g.)
docker compose exec pixelfed sh
You can add additional env var (e.g. for S3) in the .env.extra
file. Refer to the pixelfed documentation for more informations.
Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.
Please make sure to update tests as appropriate.