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

tools: Add Akash deployment configuration #1736

Merged
merged 9 commits into from
Aug 11, 2023
Merged
Show file tree
Hide file tree
Changes from 7 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions tools/cloud/akash/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
# DefraDB

DefraDB is a user-centric database that prioritizes data ownership, personal privacy, and information security. Its data model, powered by the convergence of [MerkleCRDTs](https://arxiv.org/pdf/2004.00107.pdf) and the content-addressability of [IPLD](https://docs.ipld.io/), enables a multi-write-master architecture. It features [DQL](https://docs.source.network/references/query-specification/query-language-overview), a query language compatible with GraphQL but providing extra convenience. By leveraging peer-to-peer networking it can be deployed nimbly in novel topologies. Access control is determined by a relationship-based DSL, supporting document or field-level policies, secured by the SourceHub network. DefraDB is a core part of the [Source technologies](https://source.network/) that enable new paradigms of decentralized data and access-control management, user-centric apps, data trustworthiness, and much more.

Read the documentation on [docs.source.network](https://docs.source.network/).
nasdf marked this conversation as resolved.
Show resolved Hide resolved
51 changes: 51 additions & 0 deletions tools/cloud/akash/deploy.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,51 @@
---
version: "2.0"

services:
defradb:
image: sourcenetwork/defradb:v0.6.0
args:
- start
- --url=0.0.0.0:9181
expose:
- port: 9161
as: 9161
to:
- global: true
- port: 9171
as: 9171
to:
- global: true
- port: 9181
as: 80
to:
- global: true

profiles:
compute:
defradb:
resources:
cpu:
units: 1.0
memory:
size: 1Gi
storage:
size: 1Gi
placement:
akash:
attributes:
host: akash
signedBy:
anyOf:
- "akash1365yvmc4s7awdyj3n2sav7xfx76adc6dnmlx63"
- "akash18qa2a2ltfyvkyj0ggj3hkvuj6twzyumuaru9s4"
Comment on lines +40 to +41
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

question: Where are these signatures from?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I asked for clarification on these in the Akash discord.

  • akash1365yvmc4s7awdyj3n2sav7xfx76adc6dnmlx63 Akash community audits
  • akash18qa2a2ltfyvkyj0ggj3hkvuj6twzyumuaru9s4 moultrie-audits

There is no official registry for Akash audit addresses and these two seem to appear in most Akash configs.

pricing:
defradb:
denom: uakt
amount: 10000

deployment:
defradb:
akash:
profile: defradb
count: 1