https://github.com/txchen/tinfoilbun
tinfoil server on bun
https://github.com/txchen/tinfoilbun
Last synced: 11 months ago
JSON representation
tinfoil server on bun
- Host: GitHub
- URL: https://github.com/txchen/tinfoilbun
- Owner: txchen
- License: mit
- Created: 2023-11-13T00:43:07.000Z (over 2 years ago)
- Default Branch: master
- Last Pushed: 2023-11-15T05:42:06.000Z (over 2 years ago)
- Last Synced: 2025-01-15T06:47:50.813Z (over 1 year ago)
- Language: TypeScript
- Size: 13.7 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# tinfoilbun
tinfoil server on bun
## How to use
Set environment variables:
- TFLB_AUTH = username:password # this is for basic auth, if you don't want it, leave it blank
- DELAY_SCAN = 5000 # delay scanning during startup, you might need it when you use rclone mount
Then mount the game folder to `/usr/src/app/static`, and run the container.
### Docker compose example
```yaml
version: "3.3"
services:
tinfoilbun:
image: ghcr.io/txchen/tinfoilbun:0.1.0
container_name: tinfoilbun
restart: unless-stopped
volumes:
- /opt/NSGAME:/usr/src/app/static
environment:
- TFLB_AUTH=abc:123
- DELAY_SCAN=2000
```