-
Notifications
You must be signed in to change notification settings - Fork 0
/
wordle-deploy.yaml
49 lines (48 loc) · 1.2 KB
/
wordle-deploy.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
apiVersion: apps/v1
kind: Deployment
metadata:
name: wordle-deployment
labels:
app: wordle
name: wordle
spec:
replicas: 1
selector:
matchLabels:
app: wordle
template:
metadata:
labels:
app: wordle
spec:
containers:
- name: wordlebot
image: benpayne/wordle_bot_ci:latest
env:
- name: SELENIUM_ADDR
value: "selenium-service"
- name: SELENIUM_PORT
value: "4444"
- name: DATABASE_URI
valueFrom:
secretKeyRef:
name: db.wordle.brsoft.io
key: uri
- name: DATABASE_HOST
valueFrom:
secretKeyRef:
name: db.wordle.brsoft.io
key: dbhost
- name: DATABASE_USER
valueFrom:
secretKeyRef:
name: db.wordle.brsoft.io
key: username
- name: DATABASE_PASS
valueFrom:
secretKeyRef:
name: db.wordle.brsoft.io
key: password
ports:
- containerPort: 8000
protocol: TCP