forked from StrongMonkey/riofile-demo
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathRiofile
114 lines (110 loc) · 1.98 KB
/
Riofile
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
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
configs:
conf:
index.html: |-
<!DOCTYPE html>
<html>
<body>
<h1>Hello World 2</h1>
</body>
</html>
v3:
index.html: |-
<!DOCTYPE html>
<html>
<body>
<h1>Third conf</h1>
</body>
</html>
externalservices:
foo:
fqdn: www.foo.com
ipt:
ipAddresses:
- 1.1.1.1
routers:
myroute:
routes:
- match:
path:
exact: /v1
to:
- namespace: default
version: v1
app: d-test
- match:
path:
exact: /v3
to:
- namespace: default
version: v3
app: d-test
otherroute:
routes:
- match:
path:
exact: /v1
to:
- namespace: default
version: v1
app: d-test
- match:
path:
exact: /v2
to:
- namespace: default
version: v3
app: d-test
services:
timeoutint:
autoscale:
concurrency: 10
maxReplicas: 10
minReplicas: 1
ports:
- 80:8080/http
build:
repo: https://github.com/rancher-max/rio-demo
branch: master
timeout: 1
mango:
image: ./blah/
ports:
- "8080"
nginx:
image: nginx
ports:
- 80/http
configs:
- v3/index.html:/usr/share/nginx/html/index.html
d-test:
app: d-test
image: ibuildthecloud/demo:v1
imagePullPolicy: IfNotPresent
ports:
- "80"
version: v1
weight: 100
env:
- FOO=BAR
- BAR=BAZ
d-test-v3:
app: d-test
image: ibuildthecloud/demo:v3
imagePullPolicy: IfNotPresent
ports:
- "80"
version: v3
weight: 0
infallible-hopper3:
build:
BuildTimeout: null
branch: master
buildContext: .
dockerFile: Dockerfile
dockerFilePath: .
repo: https://github.com/rancher/rio-demo
template: buildkit
image: localhost:5442/default-infallible-hopper3:f8fab97fddc8ed5e98e45cd6373ad6feff3197f9
imagePullPolicy: IfNotPresent
ports:
- 80:8080