Skip to content

Commit ba4e4fd

Browse files
author
Vadym Mudryi
committed
Added localhost configuration
1 parent 3bca555 commit ba4e4fd

File tree

4 files changed

+74
-0
lines changed

4 files changed

+74
-0
lines changed

infrastructure/localhost/README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Don't modify files in this directory unless you need something special
Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
minio:
2+
env:
3+
MINIO_BROWSER_REDIRECT_URL: https://minio.opencrvs.local
4+
MINIO_DOMAIN: opencrvs.local
5+
MINIO_API_CORS_ALLOW_ORIGIN: '*'
6+
7+
hostname: opencrvs.localhost
8+
9+
ingress:
10+
ssl_enabled: false
Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
# Access OpenCRVS services at https://opencrvs.localhost
2+
# You need to accept SSL Certificate for the first time for
3+
# the browser to trust the certificate.
4+
hostname: opencrvs.localhost
5+
6+
# Define the environment variables for the OpenCRVS services.
7+
env:
8+
LOG_LEVEL: debug
9+
MINIO_BUCKET: "ocrvs"
10+
image:
11+
# tag: develop
12+
tag: 50b3e14
13+
14+
countryconfig:
15+
image:
16+
# Replace countryconfig with farajaland to test data
17+
# name: opencrvs/ocrvs-farajaland
18+
name: opencrvs/ocrvs-countryconfig
19+
# tag: develop
20+
# tag: ec53c12
21+
tag: local
22+
23+
# On local environment SSL is disabled by default
24+
ingress:
25+
ssl_enabled: false
26+
# On local environment services are exposed at NodePort as well and are available from Tilt
27+
service_type: NodePort
Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,36 @@
1+
# Overwriting https://github.com/traefik/traefik-helm-chart/blob/master/traefik/values.yaml
2+
namespaceOverride: "traefik"
3+
logs:
4+
general:
5+
level: "DEBUG" # FIXME: Change to WARNING
6+
format: "common" # FIXME: json in remote
7+
access:
8+
# -- To enable access logs
9+
enabled: true
10+
ingressRoute:
11+
dashboard:
12+
enabled: true
13+
entryPoints: ["web", "websecure"]
14+
matchRule: Host(`traefik.opencrvs.localhost`) && (PathPrefix(`/dashboard`) || PathPrefix(`/api`))
15+
# Be explicit that we only use CRDs, not ingress/gw support
16+
providers:
17+
kubernetesCRD:
18+
enabled: true
19+
kubernetesIngress:
20+
enabled: false
21+
kubernetesGateway:
22+
enabled: false
23+
service:
24+
enabled: true
25+
single: false
26+
type: LoadBalancer
27+
28+
29+
ports:
30+
traefik:
31+
hostPort: 8080
32+
web:
33+
hostPort: 8000
34+
websecure:
35+
hostPort: 8443
36+

0 commit comments

Comments
 (0)