Skip to content

Commit 7ea0771

Browse files
committed
Add vela deployment to the repo
1 parent dc3c0ff commit 7ea0771

File tree

1 file changed

+98
-0
lines changed

1 file changed

+98
-0
lines changed

deploy/dapps-certification.yaml

Lines changed: 98 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,98 @@
1+
apiVersion: core.oam.dev/v1beta1
2+
kind: Application
3+
metadata:
4+
name: dapps-certification
5+
namespace: dapps-certification-staging
6+
spec:
7+
components:
8+
- name: dapps-certification
9+
properties:
10+
env:
11+
- name: WALLET_ADDRESS
12+
value: addr_test1qphgqts20fhx0yx7ug42xehcnryukchy5k7hpaksgxax2fzt5w2gu33s8wrw3c9tjs97dr5pulsvf39e56v7c9ar39asptcrtp
13+
- name: WALLET_ID
14+
value: 73857344a0cf884fe044abfe85660cc9a81f6366
15+
- name: WALLET_URL
16+
value: http://localhost:8090
17+
- name: WALLET_CERTIFICATION_PRICE
18+
value: "1000000"
19+
- name: PORT
20+
value: "80"
21+
- name: WALLET_PASSPHRASE
22+
valueFrom:
23+
secretKeyRef:
24+
key: WALLET_PASSPHRASE
25+
name: the-secrets
26+
- name: JWT_SECRET2
27+
valueFrom:
28+
secretKeyRef:
29+
key: JWT_SECRET
30+
name: the-secrets
31+
image: ghcr.io/demoiog/plutus-certification:8
32+
imagePullPolicy: IfNotPresent
33+
imagePullSecrets:
34+
- iohk-ghcr-creds
35+
memory: 8Gi
36+
ports:
37+
- expose: true
38+
port: 80
39+
protocol: TCP
40+
volumeMounts:
41+
emptyDir:
42+
- name: ipc
43+
mountPath: /ipc
44+
traits:
45+
- properties:
46+
replicas: 1
47+
type: scaler
48+
- properties:
49+
domains:
50+
- dapps-certification.scdev.aws.iohkdev.io
51+
rules:
52+
- port: 80
53+
serviceName: dapps-certification
54+
type: https-route
55+
- type: sidecar
56+
properties:
57+
name: cardano-wallet
58+
image: inputoutput/cardano-wallet:2022.12.14
59+
args:
60+
- serve
61+
- --node-socket
62+
- /ipc/node.socket
63+
- --database
64+
- /wallet-db
65+
- --listen-address
66+
- 0.0.0.0
67+
- --testnet
68+
- /config/preprod/genesis-byron.json
69+
volumes:
70+
- name: ipc
71+
path: /ipc
72+
- type: sidecar
73+
properties:
74+
name: socat
75+
image: alpine/socat
76+
args:
77+
- UNIX-LISTEN:/ipc/node.socket,fork
78+
- TCP-CONNECT:cardano-node-preprod.vela-system:8090
79+
volumes:
80+
- name: ipc
81+
path: /ipc
82+
type: webservice
83+
policies:
84+
- name: local-dapps-certification
85+
properties:
86+
clusters:
87+
- local
88+
namespace: dapps-certification
89+
type: topology
90+
workflow:
91+
steps:
92+
- meta:
93+
alias: Deploy To local-dapps-certification
94+
name: local-dapps-certification
95+
properties:
96+
policies:
97+
- local-dapps-certification
98+
type: deploy

0 commit comments

Comments
 (0)