Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Awesome sdls #599

Open
wants to merge 14 commits into
base: master
Choose a base branch
from
9 changes: 9 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -78,6 +78,7 @@ Also, follow [@akashnet\_](https://twitter.com/akashnet_) to stay in the loop wi
- [BERT](bert)
- [BERT Sentiment Analysis](bert-sentiment-analysis)
- [ChatGLM-6B](ChatGLM-6B)
- [Claude AI](claude)
- [ComfyUI](comfyui)
- [Dria](dria)
- [Dolly-v2-12b](dolly-v2-12b)
Expand Down Expand Up @@ -118,6 +119,8 @@ Also, follow [@akashnet\_](https://twitter.com/akashnet_) to stay in the loop wi
- [Whisper ASR](whisper-asr-gpu)
- [Whisper GUI](whisper-gui-gpu)
- [XLM-roBERTa](XLM-roBERTa)
- [Mistral 7B](mistral-7b)


### Blogging

Expand Down Expand Up @@ -148,6 +151,7 @@ Also, follow [@akashnet\_](https://twitter.com/akashnet_) to stay in the loop wi
- [Jupyter Notebook with Python Kernel](tensorflow-jupyter-mnist)
- [TensorFlow Serving MNIST CNN Model](tensorflow-serving-mnist)
- [Handwritten Digits Recognition Application](tensorflow-webapp-mnist)
- [Dataiku](dataiku)
- [Doccano](doccano)

### CI/CD, DevOps
Expand All @@ -161,7 +165,11 @@ Also, follow [@akashnet\_](https://twitter.com/akashnet_) to stay in the loop wi

### Data Visualization

- [Kibana](kibana)
- [KNIME](knime)
- [Metabase](metabase)
- [Redash Data Charts for Akash Analytics](Redash)
- [Superset](superset)
- [UFO Sightings](ufo-data-vis)

### Databases and Administration
Expand Down Expand Up @@ -269,6 +277,7 @@ Awesome DeFi apps you can deploy on Akash
### Media

- [FreeFlix Nucleus](freeflix-nucleus)
- [Invidious](invidious)

### Search Engines

Expand Down
2 changes: 1 addition & 1 deletion Redash/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -41,4 +41,4 @@ Expected outputs from the commands can be seen below.

### Example Queries

The following queries are made to answer questions defined in Akash Networks [Sig-Analytics PRD](https://github.com/akash-network/community/blob/main/sig-analytics/prd.md) using the Akash Console Database. More information on the database and schema can be found [here](https://github.com/akash-network/console).
The following queries are made to answer questions defined in Akash Networks [Sig-Analytics PRD](https://github.com/akash-network/community/blob/main/sig-analytics/prd.md) using the Akash Console Database. More information on the database and schema can be found [here](https://github.com/akash-network/console).
7 changes: 7 additions & 0 deletions claude/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
# Claude AI

If you are looking to run Claude AI on Akash.

Once deployed, open your browser and navigate to http://{yourakashurl}:8000 to access Claude AI running on your deployment.

For more instructions, see the [docs](https://docs.anthropic.com/en/home).
37 changes: 37 additions & 0 deletions claude/deploy.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
---
version: "2.0"

services:
claude:
image: anthropic/claude:latest
expose:
- port: 5000 # Replace with the actual port used by Claude, if different.
as: 80
to:
- global

profiles:
compute:
claude-compute:
resources:
cpu:
units: 1 # Adjust based on your expected load
memory:
size: 16Gi # Adjust based on Claude's requirements
storage:
size: 50Gi # Adjust based on Claude's requirements

placement:
claude-placement:
pricing:
claude:
denom: uakt
amount: 100 # Adjust price based on your budget

deployment:
claude:
claude-compute:
profile: claude-compute
count: 1
claude-placement:
profile: claude-placement
6 changes: 6 additions & 0 deletions dash/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
# Dash

[Dash](https://dash.plotly.com/) is an open-source web framework for Python that enables you to build interactive web applications, typically for data visualization, using Plotly. It’s particularly useful for creating complex dashboards with minimal coding effort.



38 changes: 38 additions & 0 deletions dash/deploy.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
version: "2.0"

services:
web:
image: my-dash-app:latest
expose:
- port: 8050
as: 80
to:
- global: true

profiles:
compute:
web:
resources:
cpu:
units: 0.1
memory:
size: 512Mi
storage:
size: 512Mi
placement:
westcoast:
attributes:
host: akash
signedBy:
anyOf:
- "akash1365yvmc4s7awdyj3n2sav7xfx76adc6dnmlx63"
pricing:
web:
denom: uakt
amount: 1000

deployment:
web:
westcoast:
profile: web
count: 1
1 change: 1 addition & 0 deletions dataiku/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
SDL file to deploy Dataiku on Akash
34 changes: 34 additions & 0 deletions dataiku/deploy.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
---

version: "2.0"

services:
dataiku:
image: "dataiku/dss:latest" # Replace with the specific Dataiku DSS image version if needed
expose:
- port: 10000 # The default port for Dataiku DSS
as: 80
to:
- global
env:
DSS_PORT: 10000 # Dataiku DSS environment variable for the port
DSS_USER: "dataiku" # Default user for the DSS
DSS_LICENSE_KEY: "your-license-key" # Dataiku license key (replace this with a valid license key)
args:
- "start" # Command to start Dataiku DSS

profiles:
compute:
dataiku:
resources:
cpu:
units: 1
memory:
size: "4Gi" # Memory allocation for the Dataiku instance
storage:
size: "10Gi" # Storage space required for Dataiku installation and data processing

deployment:
dataiku:
profile: dataiku
count: 1 # Number of instances to deploy
3 changes: 3 additions & 0 deletions invidious/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
# Invidious on Akash

Deploying [Invidious](https://invidious.io/), a privacy-respecting front-end for YouTube, on the Akash Network allows you to leverage decentralized cloud computing resources.
39 changes: 39 additions & 0 deletions invidious/deploy.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
---
version: "2.0"

services:
invidious:
image: invidious/invidious:latest
env:
- DATABASE_URL=postgres://user:password@hostname:5432/invidiousdb
- DOMAIN=https://yourdomain.com # Replace with your domain if applicable
- PORT=3000
expose:
- port: 3000
as: 80
to:
- global: true
protocol: http

profiles:
compute:
invidious:
resources:
cpu:
units: 0.5 # Adjust according to your needs
memory:
size: 512Mi # Adjust according to your needs
storage:
size: 2Gi # Adjust according to your needs
placement:
akash:
pricing:
invidious:
denom: uakt
amount: 100000 # Adjust according to your budget

deployment:
invidious:
akash:
profile: invidious
count: 1
7 changes: 7 additions & 0 deletions kibana/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
# Kibana

[Kibana](https://www.elastic.co/guide/en/kibana/current/index.html) is a user interface that lets you visualize your Elasticsearch data and navigate the Elastic Stack. Take this tutorial for the basics of visualizing data.

## Modify the Environment Variables (Optional)

Adjust the environment variables to configure Kibana according to your requirements. The `ELASTICSEARCH_HOSTS` variable should point to your Elasticsearch instance.
36 changes: 36 additions & 0 deletions kibana/deploy.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
---
version: "2.0"

services:
kibana:
image: kibana:latest # Specify the desired version of Kibana
env:
- ELASTICSEARCH_HOSTS=http://your_elasticsearch_url:9200 # Replace with actual Elasticsearch endpoint
expose:
- port: 5601 # Kibana default port
as: 80
to:
- global: true

profiles:
compute:
kibana:
resources:
cpu:
units: 0.5 # Adjust according to expected workload
memory:
size: 2Gi
storage:
size: 1Gi
placement:
akash:
pricing:
kibana:
denom: uakt
amount: 100000 # Adjust based on the cost you want to set

deployment:
kibana:
akash:
profile: kibana
count: 1
1 change: 1 addition & 0 deletions knime/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Configuration for deploying KNIME as a Docker container on Akash’s decentralized cloud infrastructure.
37 changes: 37 additions & 0 deletions knime/deploy.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
---
version: "2.0"

services:
knime:
image: "knime/knime" # Docker image for KNIME
expose:
- port: 8080
as: 80
to:
- global: true # Allow global access to KNIME UI
proto: tcp

profiles:
compute:
knime-server:
resources:
cpu:
units: 1 # Adjust CPU units as needed
memory:
size: 2Gi # Allocate at least 2GB of memory for KNIME
storage:
size: 5Gi # Allocate storage space
placement:
west-coast:
attributes:
host: akash # Provider attribute
pricing:
knime-server:
denom: uakt
amount: 100 # Specify the bid price per block

deployment:
knime:
west-coast:
profile: knime-server
count: 1
12 changes: 12 additions & 0 deletions metabase/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
# Metabase

[Metabase](https://www.metabase.com/) is the easy, open-source way for everyone in your company to ask questions and learn from data.
![](metabase-product-screenshot.svg)

After the deployment is confirmed and running, open a browser and go to the IP address provided by the lease status (or by accessing Akash’s dashboard if preferred). You should be able to access Metabase on the specified port, and it will lead you to the Metabase setup wizard.

## Notes

- **Data Storage**: The SDL example above does not configure persistent storage. If you need persistence across restarts, consider integrating with an external database or using Akash persistent storage options.

- **Environment Variables**: Configure environment variables for Metabase (e.g., `MB_DB_FILE` or `MB_DB_*` for database connection details) by adding an env block within the services section if needed.
40 changes: 40 additions & 0 deletions metabase/deploy.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
---
version: "2.0"

services:
metabase:
image: metabase/metabase:v0.45.2 # specify the Metabase version
expose:
- port: 3000
as: 80
to:
- global: true

profiles:
compute:
metabase:
resources:
cpu:
units: 1
memory:
size: 1Gi
storage:
size: 5Gi

placement:
westcoast:
attributes:
region: us-west
signedBy:
anyOf:
- "akash1....." # Add the Akash provider’s address
pricing:
metabase:
denom: uakt
amount: 100 # set based on the provider's cost structure

deployment:
metabase:
westcoast:
profile: metabase
count: 1
Loading