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. 11
      02_hetzner/01_prod/efc/deployment.yaml

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

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

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

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