New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Docker support #2080
Comments
I did a docker container some weeks ago, maybe you want to testdrive it? https://hub.docker.com/r/mplx/docker-pixelfed Personally I'm using it just standalone without fediverse enabled yet and it seems quite stable (I'm having minor issues* but currently I don't have time to work on it, so any feedback is appreciated. I was hoping dansup to do a fresh stable/tagged release to see if issues are solved). (* i.e. no infinite scroll in user page, "loading..." text below username in main screen) |
Right I'll do that. I don't have much free time nowadays though, it may take some time for me to give feedback. |
@mplx Discussion follows there : mplx/docker-pixelfed#1 |
There have been some updates on the docker-compose.yml and Dockerfiles in the last month. Before being able to use the configuration, I had to uncomment the
and then went on with https://docs.pixelfed.org/running-pixelfed/administration.html
Mapping |
are there any news on that? what means the .env.production file? are upgrades available? where is the documentation? Need help? |
+1 - For this to really take off, a docker would really help. |
Hi, I can create user, post photos and follow users from other instances (user on another instance can also follow user on my instance) but there is not communication between my instance and others. My user can send DM to another user but not the other side. After "docker-compose up", I have to login the app docker instance and execute commands:
then execute command: Any suggestion ? |
Hey everyone, I used your post and also could make it run in docker by manually runing migrations But I could not get my instance to federate yet.... |
@mplx Could you please update the instructions more detailedly? The docker file is not self-explaining, and a list of example configurations and commands is appreciated. |
Hi, I'm running my instance, https://fotoj.hexe.net/ using docker and docker-compose. |
OK, I was pondering having "place to publish fotos akin to instagram" so I found pixelfed and it looked just perfect. I thought it would be a breaze to add it to a couple of services I already run in docker on my RPi but... unfortunatelly it's not so straightforward. Has there been a consideration to provide official docker image with sane defaults and minimal configuration requirement (basically setting up domain name)? There is another ticket (#3337) but it seems like a duplicate of this... |
Hi everyone. I have set up a Docker image build process via my fork for both x86 and ARM. I will receive notifications for new Pixelfed releases and will then trigger an update of the Docker image. Hope that helps some people. I tested this with a production deployment and had no issues. Queue workers are running fine too. The image is available to the public on Docker Hub: |
@Kovah Could you provide example |
It is basically the one from the repo with changes according to my personal needs. So, I guess this should work: ---
version: '3'
services:
## App and Worker
app:
image: kovah/pixelfed-docker:latest
restart: unless-stopped
env_file:
- .env.docker
volumes:
- app-storage:/var/www/storage
- app-bootstrap:/var/www/bootstrap
- "./.env.docker:/var/www/.env"
networks:
- external
- internal
ports:
- "8080:80"
depends_on:
- db
- redis
worker:
image: kovah/pixelfed-docker:latest
restart: unless-stopped
env_file:
- .env.docker
volumes:
- app-storage:/var/www/storage
- app-bootstrap:/var/www/bootstrap
networks:
- external
- internal
command: gosu www-data php artisan horizon
depends_on:
- db
- redis
## DB and Cache
db:
image: mysql:8.0
restart: unless-stopped
networks:
- internal
command: --default-authentication-plugin=mysql_native_password
env_file:
- .env.docker
volumes:
- "db-data:/var/lib/mysql"
redis:
image: redis:6-alpine
restart: unless-stopped
env_file:
- .env.docker
volumes:
- "redis-data:/data"
networks:
- internal
volumes:
db-data:
redis-data:
app-storage:
app-bootstrap:
networks:
internal:
internal: true
external:
driver: bridge
``` |
I've created a PR that updates the |
Please look at #4050, I made a pull request with a docker build workflow based on what was already done by @Kovah and mastodon. |
Superseded by #4844 |
Hi guys
Are there any plan to provide a docker image for pixelfed ?
I can see several images on hub.docker.com already : did you test any of those ?
The text was updated successfully, but these errors were encountered: