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