A simple rust based Tauri dynamic update server
340
Maintained by:
Pasindu Akalpa
Where to get help:
gmail
Dockerfile linksWhere to file issues:
https://github.com/pAkalpa/tauri-dynamic-update-server/issues
Supported architectures:
amd64, arm64
Source of this description:
docs directory
Tauri Dynamic Update Server is a minimalistic server that can be used to serve updates to Tauri applications dynamically. This server image is ~137MB in size and is based on the debian:bookworm-slim image.
$ docker run --name dynamic-update-server -p 8000:8000 -e github_token=mygithubtoken -e github_repo_owner=mygithubusername -e github_repo_name=mytauriappreponame -d pasinduakalpa/dynamicus:latest
docker-compose or docker stack deployExample docker-compose.yml for tauri-dynamic-update-server:
version: '3.9'
services:
api:
image: pasinduakalpa/dynamicus:latest
container_name: dynamic-update-server
restart: always
ports:
- '8000:8000'
environment:
github_token: mygithubtoken
github_repo_owner: mygithubusername
github_repo_name: mytauriappreponame
Run docker stack deploy -c stack.yml dynamic-update-server (or docker-compose -f stack.yml up), wait for it to initialize completely, and visit http://swarm-ip:8000, http://localhost:8000, or http://host-ip:8000 (as appropriate).
There are many ways to extend the tauri update server image. Without trying to support every possible use case, here are just a few that we have found useful.
The Tauri Update Server image uses several environment variables which are easy to miss. There are few variables required to run server they are github_token, github_repo_owner, github_repo_name, the rest are optional.
github_tokenThis is the github token that is used to authenticate with the github api. This is a required field.
github_repo_ownerThis is the owner of the github repository that the tauri app is hosted in. This is a required field.
github_repo_nameThis is the name of the github repository that the tauri app is hosted in. This is a required field.
github_api_urlThis is the url of the github api. This is an optional field. The default value is https://api.github.com.
home_redirect_urlThis is the url that the server will redirect to when the user visits the root of the server. This is an optional field. The default value is https://github.com/pAkalpa.
Content type
Image
Digest
sha256:312a378b6…
Size
49.3 MB
Last updated
over 2 years ago
docker pull pasinduakalpa/dynamicus