-
Notifications
You must be signed in to change notification settings - Fork 58
/
radixconfig.yaml
68 lines (68 loc) · 1.47 KB
/
radixconfig.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
apiVersion: radix.equinor.com/v1
kind: RadixApplication
metadata:
name: ws-www-mhew
spec:
environments:
- name: production
build:
from: master
- name: development
build:
from: feature1
components:
- name: www
src: ./www
ports:
- name: http
port: 3001
public: true
monitoring: true
resources:
requests:
memory: "64Mi"
cpu: "100m"
limits:
memory: "96Mi"
cpu: "200m"
replicas: 1
environmentVariables:
- environment: production
variables:
PORT: 3001
NODE_ENV: "production"
ECHO_URL: "http://echo:3000"
- environment: development
variables:
PORT: 3001
NODE_ENV: "development"
ECHO_URL: "http://echo:3000"
- name: echo
src: ./echo
ports:
- name: http
port: 3000
public: false
monitoring: true
resources:
requests:
memory: "64Mi"
cpu: "100m"
limits:
memory: "96Mi"
cpu: "200m"
replicas: 4
environmentVariables:
- environment: production
variables:
PORT: 3000
NODE_ENV: "production"
- environment: development
variables:
PORT: 3000
NODE_ENV: "development"
secrets:
- DB_PASS
dnsAppAlias:
environment: production
component: www