filebin

docker-compose

services:
  filebin:
    # https://github.com/v4rakh/docker-filebin
    container_name: filebin
    image: varakh/filebin:latest
    restart: unless-stopped
    ports:
      - 80:80
    volumes:
      - "./volumes/uploads:/var/www/data/uploads" # persist filebin data on the host
    stdin_open: true
    tty: true
    env_file:
      - filebin.env

filebin.env

Filebin Konfiguration um mit meiner bereits im Netzwerk vorhandenen Postgres Datenbank zu arbeiten.

# See: https://git.myservermanager.com/varakh/docker-filebin/src/branch/master/Dockerfile

BASE_URL=https://fb.example.com/ # with trailing slash
DB_DSN="host=postgres.example.lan port=5432 sslmode=require dbname=filebin user=filebin password=xxxxxxxxxxxxxxxxxxx"
ENCRYPTION_KEY=yyyyyyyyyyyyyyyyyyyyyyyyy

# Disable deletion of files
UPLOAD_MAX_AGE=0