apiVersion: apps/v1 kind: Deployment metadata: name: app spec: template: spec: containers: - name: app env: - name: NEXTCLOUD_ADMIN_USER value: admincadoles - name: NEXTCLOUD_ADMIN_PASSWORD value: cadoles - name: PHP_MEMORY_LIMIT value: 512M - name: PHP_UPLOAD_LIMIT value: 4G - name: REDIS_HOST value: redis - name: REDIS_HOST_PORT value: "6379" - name: NEXTCLOUD_DATA_DIR value: "/var/www/html/data" - name: NEXTCLOUD_TRUSTED_DOMAINS value: "*.cadoles.fr"