-
Notifications
You must be signed in to change notification settings - Fork 20
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* add proxy * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * temporarily disable cors --------- Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
- Loading branch information
1 parent
9c235d4
commit 63ad8e5
Showing
2 changed files
with
54 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,51 @@ | ||
apiVersion: apps/v1 | ||
kind: Deployment | ||
metadata: | ||
name: taxonium-proxy-deployment | ||
spec: | ||
replicas: 1 # Number of replicas | ||
selector: | ||
matchLabels: | ||
app: taxonium-proxy | ||
template: | ||
metadata: | ||
labels: | ||
app: taxonium-proxy | ||
spec: | ||
containers: | ||
- name: taxonium-proxy | ||
image: theosanderson/taxonium_proxy:master | ||
ports: | ||
- containerPort: 3000 | ||
|
||
--- | ||
apiVersion: v1 | ||
kind: Service | ||
metadata: | ||
name: taxonium-proxy-service | ||
spec: | ||
selector: | ||
app: taxonium-proxy | ||
ports: | ||
- protocol: TCP | ||
port: 80 | ||
targetPort: 3000 | ||
--- | ||
apiVersion: networking.k8s.io/v1 | ||
kind: Ingress | ||
metadata: | ||
name: taxonium-proxy-ingress | ||
annotations: | ||
kubernetes.io/ingress.class: "nginx" # assuming you are using nginx ingress controller | ||
spec: | ||
rules: | ||
- host: proxy2.taxonium.org | ||
http: | ||
paths: | ||
- pathType: Prefix | ||
path: "/" | ||
backend: | ||
service: | ||
name: taxonium-proxy-service | ||
port: | ||
number: 80 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
63ad8e5
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Successfully deployed to the following URLs:
cov2tree – ./
taxonium.org
vbigtree.vercel.app
cov2tree.org
mpx.taxonium.org
www.cov2tree.org
visualtreeoflife.taxonium.org
taxonomy.taxonium.org
taxodium.org
www.taxonium.org
www.taxodium.org
cov2tree-theosanderson.vercel.app
cov2tree-git-master-theosanderson.vercel.app