-
Notifications
You must be signed in to change notification settings - Fork 5
/
backend-deployment.yaml
53 lines (53 loc) · 1.44 KB
/
backend-deployment.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
apiVersion: apps/v1
kind: Deployment
metadata:
annotations:
kompose.cmd: kompose convert -f docker-compose.yml
kompose.version: 1.22.0 (955b78124)
creationTimestamp: null
labels:
io.kompose.service: backend
name: backend
spec:
replicas: 1
selector:
matchLabels:
io.kompose.service: backend
strategy:
type: Recreate
template:
metadata:
annotations:
kompose.cmd: kompose convert -f docker-compose.yml
kompose.version: 1.22.0 (955b78124)
creationTimestamp: null
labels:
io.kompose.network/rpll: "true"
io.kompose.service: backend
spec:
containers:
- env:
- name: HOST
value: legacyplayers.com
- name: INSTANCE_STORAGE_PATH
value: /Storage
- name: MODEL_GENERATOR
value: http://localhost:5555
- name: MYSQL_URL
value: mysql://root:vagrant@mariadb/main
- name: ROCKET_DATABASES
value: '{main={url="mysql://root:vagrant@mariadb/main"}}'
- name: SMTP_DNS
value: 127.0.0.1:25
image: backend
name: backend
resources: {}
volumeMounts:
- mountPath: /Storage
name: rpll-backend-storage
restartPolicy: Always
volumes:
- name: rpll-backend-storage
persistentVolumeClaim:
claimName: rpll-backend-storage
status: {}