Self-Hosted Imgur Alternative - Picsur
Picsur is an easy to use, selfhostable image sharing service like Imgur with built in converting
Right now this software is still in beta, and many things are still missing, or will be changed in the future. But it does function, so feel free to give it a try.
It feels like a hybrid between Imgur and Pastebin.
Github: https://github.com/rubikscraft/Picsur
Here is the docker-compose I used in the video:
version: '3'
services:
picsur:
image: ghcr.io/rubikscraft/picsur:latest
container_name: picsur
ports:
- '8080:8080'
environment:
# PICSUR_HOST: '0.0.0.0'
PICSUR_PORT: 8080
PICSUR_DB_HOST: picsur_postgres
PICSUR_DB_PORT: 5432
PICSUR_DB_USERNAME: picsur
PICSUR_DB_PASSWORD: picsur
PICSUR_DB_DATABASE: picsur
PICSUR_ADMIN_PASSWORD: picsur
PICSUR_JWT_SECRET: 85ws9zcHDcL9gyLJc7NmmJhVwW7iV3Gf
PICSUR_JWT_EXPIRY: 1d
PICSUR_MAX_FILE_SIZE: 128000000
PICSUR_STATIC_FRONTEND_ROOT: "/picsur/frontend/dist"
restart: unless-stopped
picsur_postgres:
image: postgres:14-alpine
container_name: picsur_postgres
environment:
POSTGRES_DB: picsur
POSTGRES_PASSWORD: picsur
POSTGRES_USER: picsur
restart: unless-stopped
volumes:
- picsur-data:/var/lib/postgresql/data
volumes:
picsur-data:
Of course, you can modify the volume to mount it wherever you'd like.