Sign inSign up

guang1/filepizza

By guang1

Updated over 1 year ago

Peer-to-peer file transfers in your browser with download code

Image
Networking
Integration & delivery
Web servers
0

1.2K

guang1/filepizza repository overview

FilePizza - Peer-to-peer File Transfers in Your Browser with download code

Quick reference

What is FilePizza?

FilePizza is a browser-based peer-to-peer file transfer application that uses WebRTC to enable direct file transfers between browsers without storing files on an intermediary server.

How to use this image

Simple usage
docker run -d --name filepizza -p 8080:8080 -e PORT=8080 guang1/filepizza:latest
Basic Docker Compose
services:
    filepizza:
        container_name: filepizza
        ports:
            - 8080:8080
        environment:
            - PORT=8080
        restart: always
        image: guang1/filepizza:latest
        network_mode: bridge
Advanced Docker Compose with Redis and TURN Server
services:
  redis:
    image: redis:latest
    ports:
      - 6379:6379
    networks:
      - filepizza
    volumes:
      - redis_data:/data
  coturn:
    image: coturn/coturn
    ports:
      - 3478:3478
      - 3478:3478/udp
      - 5349:5349
      - 5349:5349/udp
    environment:
      - DETECT_EXTERNAL_IP=yes
      - DETECT_RELAY_IP=yes
    command: -n --log-file=stdout --redis-userdb="ip=redis connect_timeout=30"
    networks:
      - filepizza
  filepizza:
    image: guang1/filepizza:latest
    ports:
      - 8080:8080
    environment:
      - PORT=8080
      - REDIS_URL=redis://redis:6379
    networks:
      - filepizza
    depends_on:
      - redis

networks:
  filepizza:
    driver: bridge

volumes:
  redis_data:
Production Setup

For production environments, use our production configuration which includes:

  • Restricted Redis access
  • Configured TURN relay ports
  • Enhanced security settings
services:
  redis:
    image: redis:latest
    ports:
      - 127.0.0.1:6379:6379
  coturn:
    image: coturn/coturn
    ports:
      - 3478:3478
      - 3478:3478/udp
      - 5349:5349
      - 5349:5349/udp
      - 60000-60128:60000-60128/udp
    environment:
      - DETECT_EXTERNAL_IP=yes
      - DETECT_RELAY_IP=yes
    command: -n --log-file=stdout --redis-userdb="ip=redis connect_timeout=30" --min-port=60000 --max-port=60128
  filepizza:
    image: guang1/filepizza:latest
    ports:
      - 0.0.0.0:80:80
    environment:
      - PORT=80
      - REDIS_URL=redis://redis:6379
      - COTURN_ENABLED=true

Environment Variables

  • PORT: The port number the application listens on (default: 8080)
  • REDIS_URL: Redis connection URL (optional)
  • COTURN_ENABLED: Enable TURN server support (optional)

Features

  • Direct browser-to-browser file transfer using WebRTC
  • No file size limits
  • No server storage required
  • Secure and private transfers
  • Dark mode support
  • Mobile browser compatibility
  • Multiple file upload support
  • Password protection option

License

This project is licensed under the BSD 3-Clause License.

Tags

  • latest: Latest stable release
  • 2.x: FilePizza version 2.x

Tag summary

Content type

Image

Digest

sha256:64d7a5180

Size

73.7 MB

Last updated

over 1 year ago

docker pull guang1/filepizza