Browse Source

Final efc and efc-shop deployments.

feat/mariadb
Antun Franjin 4 years ago
parent
commit
ff73724a6d
  1. 6
      02_hetzner/01_prod/efc-shop/deployment.yaml
  2. 13
      02_hetzner/01_prod/efc/deployment.yaml

6
02_hetzner/01_prod/efc-shop/deployment.yaml

@ -54,8 +54,8 @@ metadata:
labels:
app: efc-shop
data:
REACT_APP_PROD_API_URL: "http://efc-shop.k3s.semapp.lan/"
REACT_APP_DEV_API_URL: http://efc-shop.k3s.semapp.lan/
REACT_APP_PROD_API_URL: "http://efc-shop.k8s.semprod.local"
REACT_APP_DEV_API_URL: "http://efc-shop.k8s.semprod.local"
---
@ -145,7 +145,7 @@ metadata:
kubernetes.io/ingress.class: "traefik"
spec:
rules:
- host: efc-shop.k3s.semapp.lan
- host: efc-shop.k8s.semprod.local
http:
paths:
- path: /

13
02_hetzner/01_prod/efc/deployment.yaml

@ -101,11 +101,11 @@ data:
DJANGO_DB_HOST: "psql.semprod.local"
DJANGO_DB_PORT: "5432"
ALLOWED_HOSTS: '["*"]'
FRONTEND_URL: "http://efc.k3s.semapp.lan"
REACT_APP_PROD_API_URL: "http://efc.k3s.semapp.lan/"
REACT_APP_DEV_API_URL: http://efc.k3s.semapp.lan/
FRONTEND_URL: "http://efc-admin.k8s.semprod.local"
REACT_APP_PROD_API_URL: "http://efc-admin.k8s.semprod.local"
REACT_APP_DEV_API_URL: "http://efc-admin.k8s.semprod.local"
PORT_FRONTEND: '8500'
SHOP_FRONTEND_URL: "http://efc-shop.k3s.semapp.lan"
SHOP_FRONTEND_URL: "http://efc-shop.k8s.semprod.local"
SHOP_PORT_FRONTEND: '8501'
---
@ -242,10 +242,11 @@ metadata:
kubernetes.io/ingress.class: "traefik"
spec:
rules:
- host: efc.k3s.semapp.lan
- host: efc-admin.k8s.semprod.local
http:
paths:
- path: /
backend:
serviceName: efc-frontend-prod
servicePort: 8500
servicePort: 8500
Loading…
Cancel
Save