-
Notifications
You must be signed in to change notification settings - Fork 0
/
deploy.yml
53 lines (48 loc) · 1.11 KB
/
deploy.yml
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
---
version: "2.0"
services:
app:
image: ubuntu:latest
env:
- "my_root_password=" # root password for ssh connection.
command:
- "bash"
- "-c"
args:
# Link at the end of the next line needs to be changed to the location of your start.sh file
- 'apt-get update ; apt-get upgrade -y ; apt-get install -y curl ; curl -s https://raw.githubusercontent.com/PavloDereniuk/Launch-a-website-on-Akash-Network-in-2-minutes/main/start.sh | bash ;
sleep infinity'
expose:
- port: 80
as: 80
# accept:
# - "sitename.providername"
to:
- global: true
- port: 22
as: 22
to:
- global: true
profiles:
compute:
app:
resources:
# Specify the required resources
cpu:
units: 1.0
memory:
size: 1Gi
storage:
size: 5Gi
placement:
akash:
attributes:
pricing:
app:
denom: uakt
amount: 10000
deployment:
app:
akash:
profile: app
count: 1