Docker compose example:
services:
tui:
image: ghcr.io/tiny-webui/tiny-webui:latest
container_name: tui
ports:
- "12574:80"
volumes:
- ./data:/root
tmpfs:
- /tmp:rw
restart: unless-stoppedPlease change the port and data path accordingly.
- Go to
$YOUR_IP:$YOUR_PORTin the browser. - Click on register
- Follow the instructions to obtain the registration token.
- On the server, run the following command to register:
docker exec -it tui sh
tui-register -d /root/data/tui.db -r $YOUR_REGISTRATION_TOKEN
# Follow the registration guide
exit- Once registered, go back to the login page and login.
- Click the settings icon.
- Go to model management.
- Click the + button.
- Follow the dialog to add a model provider.
By default, title creation will use the first available model. If an alternate model is required, follow these steps to change it:
- Click the settings icon
- Go to global settings.
- Change the title generation model to the desired one.
- Ask the user to follow the registration guide and provide their registration token.
- Go to user management settings
- Click the + button
- Follow the dialog to add a new user. Be aware of the user privilege and comments options.
- Once registered, the user can log in with their credential.