1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889 |
- apiVersion: apps/v1
- kind: Deployment
- metadata:
- name: languagetandem
- labels:
- name: languagetandem
- spec:
- replicas: 1
- selector:
- matchLabels:
- name: languagetandem
- template:
- metadata:
- name: languagetandem
- labels:
- name: languagetandem
- spec:
- affinity:
- nodeAffinity:
- requiredDuringSchedulingIgnoredDuringExecution:
- nodeSelectorTerms:
- - matchExpressions:
- - key: arch
- operator: In
- values:
- - x86
- containers:
- - name: languagetandem
- image: qdii/tndm:latest
- env:
- - name: FLASK_HOST
- value: "mariadb"
- - name: FLASK_USER
- value: "ltdev"
- - name: FLASK_PASSWORD
- value: "iddCFfUf3QcnZ3rZHrqT"
- - name: FLASK_PORT
- value: "3306"
- - name: FLASK_DATABASE
- value: "tandem_dev"
- - name: FLASK_UPLOAD_FOLDER
- value: "/pic"
- - name: FLASK_SECRET_KEY
- value: "@ECgugJHXFPSX$9oYkMp"
- - name: FLASK_SESSION_COOKIE_HTTPONLY
- value: "False"
- - name: FLASK_SESSION_COOKIE_SAMESITE
- value: "None"
- - name: FLASK_SESSION_COOKIE_SECURE
- value: "True"
- - name: FLASK_SESSION_COOKIE_DOMAIN
- value: "lang-dev.dodges.it"
- - name: FLASK_DEBUG
- value: "True"
- ports:
- - containerPort: 8000
- name: gunicorn
- protocol: TCP
- ---
- apiVersion: apps/v1
- kind: Deployment
- metadata:
- name: languagetandem-fe
- labels:
- name: languagetandem-fe
- spec:
- replicas: 1
- selector:
- matchLabels:
- name: languagetandem-fe
- template:
- metadata:
- name: languagetandem-fe
- labels:
- name: languagetandem-fe
- spec:
- affinity:
- nodeAffinity:
- requiredDuringSchedulingIgnoredDuringExecution:
- nodeSelectorTerms:
- - matchExpressions:
- - key: arch
- operator: In
- values:
- - x86
- containers:
- - name: languagetandem-fe
- image: qdii/tndm-fe:latest
|