Upload files to "/"
This commit is contained in:
@@ -50,29 +50,40 @@ spec:
|
|||||||
|
|
||||||
---
|
---
|
||||||
apiVersion: apps/v1
|
apiVersion: apps/v1
|
||||||
kind: Deployment # see on stateless rakenduste jaoks
|
kind: Deployment
|
||||||
metadata:
|
metadata:
|
||||||
name: antinix-test-app
|
name: antinix-test-app
|
||||||
|
|
||||||
spec:
|
spec:
|
||||||
replicas: 1
|
replicas: 1
|
||||||
|
|
||||||
selector:
|
selector:
|
||||||
matchLabels:
|
matchLabels:
|
||||||
app: antinix-test-app
|
app: antinix-test-app
|
||||||
|
|
||||||
template:
|
template:
|
||||||
metadata:
|
metadata:
|
||||||
labels:
|
labels:
|
||||||
app: antinix-test-app
|
app: antinix-test-app
|
||||||
|
|
||||||
spec:
|
spec:
|
||||||
containers:
|
containers:
|
||||||
- name: antinix-test-app
|
- name: antinix-test-app
|
||||||
#image: codemowers/memelord:latest
|
|
||||||
image: ghcr.io/l4rm4nd/memelord:latest
|
image: ghcr.io/l4rm4nd/memelord:latest
|
||||||
imagePullPolicy: Always
|
imagePullPolicy: Always
|
||||||
|
|
||||||
volumeMounts:
|
volumeMounts:
|
||||||
- name: settings-volume
|
- name: settings-volume
|
||||||
mountPath: /opt/app/myproject/
|
mountPath: /opt/app/myproject/settings.py
|
||||||
subPath: settings.py
|
subPath: settings.py
|
||||||
readOnly: true
|
readOnly: true
|
||||||
|
|
||||||
|
volumes:
|
||||||
|
- name: settings-volume
|
||||||
|
configMap:
|
||||||
|
name: settings
|
||||||
|
|
||||||
|
|
||||||
ports:
|
ports:
|
||||||
- name: http
|
- name: http
|
||||||
containerPort: 8000
|
containerPort: 8000
|
||||||
|
|||||||
Reference in New Issue
Block a user