Skip to content

Commit

Permalink
fix(api): expose api under subdomain
Browse files Browse the repository at this point in the history
  • Loading branch information
tiagomichaelsousa committed Jul 7, 2023
1 parent ed9a5c4 commit ebdb1e7
Show file tree
Hide file tree
Showing 4 changed files with 14 additions and 14 deletions.
4 changes: 2 additions & 2 deletions helm/intelli-mate-api/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -44,8 +44,8 @@ securityContext:

service:
type: ClusterIP
targetPort: 3000
port: 3000
targetPort: 8000
port: 8000

healthcheck:
readiness:
Expand Down
8 changes: 4 additions & 4 deletions helm/intelli-mate-api/values/production.yaml
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
ingress:
hosts:
- host: intelli-mate.xgeeks.tech
- host: api.intelli-mate.xgeeks.tech
paths:
- path: /api
- path: /
pathType: ImplementationSpecific
tls:
- hosts:
- intelli-mate.xgeeks.tech
secretName: intelli-mate-tls
- api.intelli-mate.xgeeks.tech
secretName: intelli-mate-api-tls
8 changes: 4 additions & 4 deletions helm/intelli-mate-web-ui/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -39,8 +39,8 @@ securityContext:
# drop:
# - ALL
# readOnlyRootFilesystem: true
# runAsNonRoot: true
# runAsUser: 1001
runAsNonRoot: true
runAsUser: 1001

service:
type: ClusterIP
Expand All @@ -49,13 +49,13 @@ service:

healthcheck:
readiness:
enabled: true
enabled: false
delay: 5
period: 5
failure: 3
path: /
liveness:
enabled: true
enabled: false
delay: 5
period: 60
failure: 3
Expand Down
8 changes: 4 additions & 4 deletions helm/intelli-mate-web-ui/values/production.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@ ingress:
tls:
- hosts:
- intelli-mate.xgeeks.tech
secretName: intelli-mate-tls
secretName: intelli-mate-web-ui-tls
environment:
API_URL: https://intelli-mate.xgeeks.tech/api/v1
NEXT_PUBLIC_API_URL: https://intelli-mate.xgeeks.tech/api/v1
NEXT_PUBLIC_SOCKET_URL: https://intelli-mate.xgeeks.tech
API_URL: https://api.intelli-mate.xgeeks.tech/api/v1
NEXT_PUBLIC_API_URL: https://api.intelli-mate.xgeeks.tech/api/v1
NEXT_PUBLIC_SOCKET_URL: https://api.intelli-mate.xgeeks.tech

0 comments on commit ebdb1e7

Please sign in to comment.