This repository was archived by the owner on Apr 17, 2025. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathakash_deploy.sdl
More file actions
62 lines (56 loc) · 2.4 KB
/
Copy pathakash_deploy.sdl
File metadata and controls
62 lines (56 loc) · 2.4 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
# PhDBot-Classroom Deployment on Akash Server.
# Welcome to the Akash Network! 🚀☁
# This file is called a Stack Definition Laguage (SDL)
# SDL is a human friendly data standard for declaring deployment attributes.
# The SDL file is a "form" to request resources from the Network.
# SDL is compatible with the YAML standard and similar to Docker Compose files.
---
# Indicates version of Akash configuration file. Currently only "2.0" is accepted.
version: "2.0"
# The top-level services entry contains a map of workloads to be ran on the Akash deployment. Each key is a service name; values are a map containing the following keys:
# https://akash.network/docs/getting-started/stack-definition-language/#services
services:
# The name of the service "phdbot-classroom"
phdbot-classroom:
# The docker container image with version.
image: dreambrooktech/phdbot-classroom:v0.1.1
env:
- 'url=https://classroom.phdbot.cloud'
# You can map ports here
expose:
- port: 8022
as: 80
accept:
- "classroom.phdbot.cloud"
to:
- global: true
# The profiles section contains named compute and placement profiles to be used in the deployment.
# https://akash.network/docs/getting-started/stack-definition-language/#profiles
profiles:
# profiles.compute is map of named compute profiles. Each profile specifies compute resources to be leased for each service instance uses uses the profile.
compute:
# The name of the service
phdbot-classroom:
resources:
cpu:
units: 0.5
memory:
size: 2Gi
storage:
size: 2Gi
# profiles.placement is map of named datacenter profiles. Each profile specifies required datacenter attributes and pricing configuration for each compute profile that will be used within the datacenter. It also specifies optional list of signatures of which tenants expects audit of datacenter attributes.
placement:
dcloud:
pricing:
# The name of the service
phdbot-classroom:
denom: uakt
amount: 1000
# The deployment section defines how to deploy the services. It is a mapping of service name to deployment configuration.
# https://akash.network/docs/getting-started/stack-definition-language/#deployment
deployment:
# The name of the service
phdbot-classroom:
dcloud:
profile: phdbot-classroom
count: 1