Skip to content

Commit

Permalink
Add vela deployment to the repo
Browse files Browse the repository at this point in the history
  • Loading branch information
shlevy committed Aug 2, 2023
1 parent dc3c0ff commit 7ea0771
Showing 1 changed file with 98 additions and 0 deletions.
98 changes: 98 additions & 0 deletions deploy/dapps-certification.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,98 @@
apiVersion: core.oam.dev/v1beta1
kind: Application
metadata:
name: dapps-certification
namespace: dapps-certification-staging
spec:
components:
- name: dapps-certification
properties:
env:
- name: WALLET_ADDRESS
value: addr_test1qphgqts20fhx0yx7ug42xehcnryukchy5k7hpaksgxax2fzt5w2gu33s8wrw3c9tjs97dr5pulsvf39e56v7c9ar39asptcrtp
- name: WALLET_ID
value: 73857344a0cf884fe044abfe85660cc9a81f6366
- name: WALLET_URL
value: http://localhost:8090
- name: WALLET_CERTIFICATION_PRICE
value: "1000000"
- name: PORT
value: "80"
- name: WALLET_PASSPHRASE
valueFrom:
secretKeyRef:
key: WALLET_PASSPHRASE
name: the-secrets
- name: JWT_SECRET2
valueFrom:
secretKeyRef:
key: JWT_SECRET
name: the-secrets
image: ghcr.io/demoiog/plutus-certification:8
imagePullPolicy: IfNotPresent
imagePullSecrets:
- iohk-ghcr-creds
memory: 8Gi
ports:
- expose: true
port: 80
protocol: TCP
volumeMounts:
emptyDir:
- name: ipc
mountPath: /ipc
traits:
- properties:
replicas: 1
type: scaler
- properties:
domains:
- dapps-certification.scdev.aws.iohkdev.io
rules:
- port: 80
serviceName: dapps-certification
type: https-route
- type: sidecar
properties:
name: cardano-wallet
image: inputoutput/cardano-wallet:2022.12.14
args:
- serve
- --node-socket
- /ipc/node.socket
- --database
- /wallet-db
- --listen-address
- 0.0.0.0
- --testnet
- /config/preprod/genesis-byron.json
volumes:
- name: ipc
path: /ipc
- type: sidecar
properties:
name: socat
image: alpine/socat
args:
- UNIX-LISTEN:/ipc/node.socket,fork
- TCP-CONNECT:cardano-node-preprod.vela-system:8090
volumes:
- name: ipc
path: /ipc
type: webservice
policies:
- name: local-dapps-certification
properties:
clusters:
- local
namespace: dapps-certification
type: topology
workflow:
steps:
- meta:
alias: Deploy To local-dapps-certification
name: local-dapps-certification
properties:
policies:
- local-dapps-certification
type: deploy

0 comments on commit 7ea0771

Please sign in to comment.