MicroBin

A secure, configurable file-sharing and URL shortening web app written in Rust.

Directory Structure

    • .env
    • docker-compose.yml

docker-compose.yml

version: "3.9"
services:
  microbin:
    container_name: microbin
    image: danielszabo99/microbin:latest
    security_opt:
      - no-new-privileges:false
    healthcheck:
      test: timeout 10s bash -c ':> /dev/tcp/127.0.0.1/8080' || exit 1
      interval: 10s
      timeout: 5s
      retries: 3
      start_period: 90s
    volumes:
      - /data:/app/microbin_data:rw
    environment:
      MICROBIN_ADMIN_USERNAME: microbin
      MICROBIN_ADMIN_PASSWORD: microbin_password
      MICROBIN_PUBLIC_PATH: http://localhost/
    ports:
      - 5980:8080
    restart: on-failure:5

Resources

Website: https://microbin.eu/

Demo: https://pub.microbin.eu/

GitHub: https://github.com/szabodanika/microbin

Docker Hub: https://hub.docker.com/r/danielszabo99/microbin

Configuration: https://github.com/szabodanika/microbin/blob/master/compose.yaml