alpha 1337 anvil deployment
This commit is contained in:
2
backend
2
backend
Submodule backend updated: bb440205f8...76929ec613
2
contract
2
contract
Submodule contract updated: 862405678e...e881ac981a
@@ -1,7 +1,7 @@
|
||||
1. `cd deploy/k8s`
|
||||
2. `kubectl apply -f postgres.yaml`
|
||||
3. `kubectl apply -f redis.yaml`
|
||||
4. `kubectl apply -f hardhat.yaml`
|
||||
4. `kubectl apply -f anvil.yaml`
|
||||
5. `cd ../../contract` to the contracts project folder
|
||||
6. `RPC_URL=https://rpc.alpha.dexorder.trade ./bin/deploy.sh alpha mock` This uses dev account #0 to deploy the init contracts to the alpha rpc url, and also the mockenv contract. The broadcast files and all compiler output files are labeled and organized with the tag `alpha`, and copied into the `contract/deployment/` directory. The Dockerfiles will copy this tagged deployment directory into subproject containers to provide the contract ABI's and bytecode along with the init contract deployment addresses.
|
||||
7. `cd ..` back to top-level dexorder. The init contracts should be running on hardhat now
|
||||
|
||||
@@ -8,7 +8,7 @@ spec:
|
||||
storageClassName: standard
|
||||
resources:
|
||||
requests:
|
||||
storage: 30Gi
|
||||
storage: 200Gi
|
||||
|
||||
|
||||
---
|
||||
@@ -60,7 +60,7 @@ spec:
|
||||
apiVersion: v1
|
||||
kind: Service
|
||||
metadata:
|
||||
name: anvil
|
||||
name: alpharpc
|
||||
labels:
|
||||
app: anvil
|
||||
spec:
|
||||
@@ -90,7 +90,11 @@ spec:
|
||||
apiVersion: networking.k8s.io/v1
|
||||
kind: Ingress
|
||||
metadata:
|
||||
name: anvil
|
||||
name: alpharpc
|
||||
annotations:
|
||||
# websocket connection timeouts
|
||||
nginx.ingress.kubernetes.io/proxy-read-timeout: "86400"
|
||||
nginx.ingress.kubernetes.io/proxy-write-timeout: "86400"
|
||||
spec:
|
||||
ingressClassName: nginx
|
||||
tls:
|
||||
@@ -105,6 +109,6 @@ spec:
|
||||
pathType: Prefix
|
||||
backend:
|
||||
service:
|
||||
name: anvil
|
||||
name: alpharpc
|
||||
port:
|
||||
number: 8545
|
||||
|
||||
Reference in New Issue
Block a user