A simple server that returns a random file inside a folder.
services:
random-file-server:
image: flazepe/random-file-server
volumes:
- ./files:/files
ports:
- "8000:8000"
restart: unless-stopped
environment:
RFS_PORT: 8000
RFS_CACHE_TTL_SECS: 300
RFS_NON_REPEAT: false
RFS_LISTING_PATH: listing # Optional, unset to disable listing page