https://github.com/dstack-tee/dstack-examples
examples and utilities of Dstack applications
https://github.com/dstack-tee/dstack-examples
Last synced: 8 months ago
JSON representation
examples and utilities of Dstack applications
- Host: GitHub
- URL: https://github.com/dstack-tee/dstack-examples
- Owner: Dstack-TEE
- License: mit
- Created: 2024-12-17T21:46:07.000Z (about 1 year ago)
- Default Branch: main
- Last Pushed: 2025-07-23T22:14:04.000Z (8 months ago)
- Last Synced: 2025-07-24T01:17:31.135Z (8 months ago)
- Language: Shell
- Size: 169 KB
- Stars: 16
- Watchers: 5
- Forks: 11
- Open Issues: 16
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Dstack Examples
This repository contains examples of Dstack applications.
*Note on single-file example style:* Sometimes we use a style of packing the entire application into a single docker-compose.yml file.
But more commonly a dstack example would have Dockerfile and some other code.
## Useful Utilities
These show useful patterns you may want to copy:
- [./lightclient](./lightclient) use a light client so that the dstack app can follow a blockchain
- [./custom-domain](./custom-domain) shows how to serve a secure website from a custom domain, by requesting a letsencrypt certificate from within the app
- [./ssh-over-tproxy](./ssh-over-tproxy) shows how to tunnel arbitrary sockets over https so it can work with tproxy
- [./webshell](./webshell) This is an alternative way to allow logging into a Dstack container (for debug only!)
## Showcases of porting existing tools
- [./tor-hidden-service](./tor-hidden-service) connects to the tor network and serves a website as a hidden service
## Illustrating Dstack Features
- [./prelaunch-script](./prelaunch-script)
- [./private-docker-image-deployment](./private-docker-image-deployment)
- [./attestation](./attestation) shows how to verify attestation for Dstack apps
## App examples
- [./timelock-nts](./timelock-nts) a timelock decryption example using secure NTP (NTS) from Cloudflare as a time oracle
## Tutorial (Coming soon)
## Contributing
Pull requests are welcomed, curation plan to come soon