languagetandem-rs.yaml 2.1 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889
  1. apiVersion: apps/v1
  2. kind: Deployment
  3. metadata:
  4. name: languagetandem
  5. labels:
  6. name: languagetandem
  7. spec:
  8. replicas: 1
  9. selector:
  10. matchLabels:
  11. name: languagetandem
  12. template:
  13. metadata:
  14. name: languagetandem
  15. labels:
  16. name: languagetandem
  17. spec:
  18. affinity:
  19. nodeAffinity:
  20. requiredDuringSchedulingIgnoredDuringExecution:
  21. nodeSelectorTerms:
  22. - matchExpressions:
  23. - key: arch
  24. operator: In
  25. values:
  26. - x86
  27. containers:
  28. - name: languagetandem
  29. image: qdii/tndm:latest
  30. env:
  31. - name: FLASK_HOST
  32. value: "mariadb"
  33. - name: FLASK_USER
  34. value: "ltdev"
  35. - name: FLASK_PASSWORD
  36. value: "iddCFfUf3QcnZ3rZHrqT"
  37. - name: FLASK_PORT
  38. value: "3306"
  39. - name: FLASK_DATABASE
  40. value: "tandem_dev"
  41. - name: FLASK_UPLOAD_FOLDER
  42. value: "/pic"
  43. - name: FLASK_SECRET_KEY
  44. value: "@ECgugJHXFPSX$9oYkMp"
  45. - name: FLASK_SESSION_COOKIE_HTTPONLY
  46. value: "False"
  47. - name: FLASK_SESSION_COOKIE_SAMESITE
  48. value: "None"
  49. - name: FLASK_SESSION_COOKIE_SECURE
  50. value: "True"
  51. - name: FLASK_SESSION_COOKIE_DOMAIN
  52. value: "lang-dev.dodges.it"
  53. - name: FLASK_DEBUG
  54. value: "True"
  55. ports:
  56. - containerPort: 8000
  57. name: gunicorn
  58. protocol: TCP
  59. ---
  60. apiVersion: apps/v1
  61. kind: Deployment
  62. metadata:
  63. name: languagetandem-fe
  64. labels:
  65. name: languagetandem-fe
  66. spec:
  67. replicas: 1
  68. selector:
  69. matchLabels:
  70. name: languagetandem-fe
  71. template:
  72. metadata:
  73. name: languagetandem-fe
  74. labels:
  75. name: languagetandem-fe
  76. spec:
  77. affinity:
  78. nodeAffinity:
  79. requiredDuringSchedulingIgnoredDuringExecution:
  80. nodeSelectorTerms:
  81. - matchExpressions:
  82. - key: arch
  83. operator: In
  84. values:
  85. - x86
  86. containers:
  87. - name: languagetandem-fe
  88. image: qdii/tndm-fe:latest