-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #6 from agent87/dev
NEw Strucutre
- Loading branch information
Showing
38 changed files
with
1,092 additions
and
202 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
FROM python:3.10.9 | ||
|
||
|
||
WORKDIR /demo |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
21 changes: 21 additions & 0 deletions
21
k8s/Users-kayarn-Desktop-Sources-nosync-RW-DEEPSPEECH-API--env-configmap.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
apiVersion: v1 | ||
data: | ||
DOMAIN: <Replace your DOMAIN here> | ||
LOG_LEVEL: INFO | ||
MAX_SPEECH_AUDIO_FILE_SIZE: "1000" | ||
MONGO_HOST: mongo | ||
MONGO_INITDB_DATABASE: Inference | ||
MONGO_INITDB_ROOT_PASSWORD: Bingo123 | ||
MONGO_INITDB_ROOT_USERNAME: admin | ||
MONGO_PORT: "27017" | ||
MONGO_STT_COLLECTION: STT_INFERENCE_LOGS | ||
MONGO_TTS_COLLECTION: TTS_INFERENCE_LOGS | ||
PYTHONUNBUFFERED: "1" | ||
SERVER_IP_ADDRESS: <Replace your SERVER_IP_ADDRESS here> | ||
TTS_MAX_TXT_LEN: "1000" | ||
kind: ConfigMap | ||
metadata: | ||
creationTimestamp: null | ||
labels: | ||
io.kompose.service: mongo-Users-kayarn-Desktop-Sources-nosync-RW-DEEPSPEECH-API--env | ||
name: Users-kayarn-Desktop-Sources-nosync-RW-DEEPSPEECH-API--env |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,102 @@ | ||
apiVersion: apps/v1 | ||
kind: Deployment | ||
metadata: | ||
annotations: | ||
kompose.cmd: kompose convert -f docker-compose.yml | ||
kompose.version: 1.31.2 (HEAD) | ||
creationTimestamp: null | ||
labels: | ||
io.kompose.service: mongo | ||
name: mongo | ||
spec: | ||
replicas: 1 | ||
selector: | ||
matchLabels: | ||
io.kompose.service: mongo | ||
strategy: {} | ||
template: | ||
metadata: | ||
annotations: | ||
kompose.cmd: kompose convert -f docker-compose.yml | ||
kompose.version: 1.31.2 (HEAD) | ||
creationTimestamp: null | ||
labels: | ||
io.kompose.network/rw-deepspeech-api-deepspeech: "true" | ||
io.kompose.service: mongo | ||
spec: | ||
containers: | ||
- env: | ||
- name: DOMAIN | ||
valueFrom: | ||
configMapKeyRef: | ||
key: DOMAIN | ||
name: Users-kayarn-Desktop-Sources-nosync-RW-DEEPSPEECH-API--env | ||
- name: LOG_LEVEL | ||
valueFrom: | ||
configMapKeyRef: | ||
key: LOG_LEVEL | ||
name: Users-kayarn-Desktop-Sources-nosync-RW-DEEPSPEECH-API--env | ||
- name: MAX_SPEECH_AUDIO_FILE_SIZE | ||
valueFrom: | ||
configMapKeyRef: | ||
key: MAX_SPEECH_AUDIO_FILE_SIZE | ||
name: Users-kayarn-Desktop-Sources-nosync-RW-DEEPSPEECH-API--env | ||
- name: MONGO_HOST | ||
valueFrom: | ||
configMapKeyRef: | ||
key: MONGO_HOST | ||
name: Users-kayarn-Desktop-Sources-nosync-RW-DEEPSPEECH-API--env | ||
- name: MONGO_INITDB_DATABASE | ||
valueFrom: | ||
configMapKeyRef: | ||
key: MONGO_INITDB_DATABASE | ||
name: Users-kayarn-Desktop-Sources-nosync-RW-DEEPSPEECH-API--env | ||
- name: MONGO_INITDB_ROOT_PASSWORD | ||
valueFrom: | ||
configMapKeyRef: | ||
key: MONGO_INITDB_ROOT_PASSWORD | ||
name: Users-kayarn-Desktop-Sources-nosync-RW-DEEPSPEECH-API--env | ||
- name: MONGO_INITDB_ROOT_USERNAME | ||
valueFrom: | ||
configMapKeyRef: | ||
key: MONGO_INITDB_ROOT_USERNAME | ||
name: Users-kayarn-Desktop-Sources-nosync-RW-DEEPSPEECH-API--env | ||
- name: MONGO_PORT | ||
valueFrom: | ||
configMapKeyRef: | ||
key: MONGO_PORT | ||
name: Users-kayarn-Desktop-Sources-nosync-RW-DEEPSPEECH-API--env | ||
- name: MONGO_STT_COLLECTION | ||
valueFrom: | ||
configMapKeyRef: | ||
key: MONGO_STT_COLLECTION | ||
name: Users-kayarn-Desktop-Sources-nosync-RW-DEEPSPEECH-API--env | ||
- name: MONGO_TTS_COLLECTION | ||
valueFrom: | ||
configMapKeyRef: | ||
key: MONGO_TTS_COLLECTION | ||
name: Users-kayarn-Desktop-Sources-nosync-RW-DEEPSPEECH-API--env | ||
- name: PYTHONUNBUFFERED | ||
valueFrom: | ||
configMapKeyRef: | ||
key: PYTHONUNBUFFERED | ||
name: Users-kayarn-Desktop-Sources-nosync-RW-DEEPSPEECH-API--env | ||
- name: SERVER_IP_ADDRESS | ||
valueFrom: | ||
configMapKeyRef: | ||
key: SERVER_IP_ADDRESS | ||
name: Users-kayarn-Desktop-Sources-nosync-RW-DEEPSPEECH-API--env | ||
- name: TTS_MAX_TXT_LEN | ||
valueFrom: | ||
configMapKeyRef: | ||
key: TTS_MAX_TXT_LEN | ||
name: Users-kayarn-Desktop-Sources-nosync-RW-DEEPSPEECH-API--env | ||
image: mongo:latest | ||
name: mongo-db-deepspeech | ||
ports: | ||
- containerPort: 27017 | ||
hostPort: 27017 | ||
protocol: TCP | ||
resources: {} | ||
restartPolicy: Always | ||
status: {} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
apiVersion: v1 | ||
kind: Service | ||
metadata: | ||
annotations: | ||
kompose.cmd: kompose convert -f docker-compose.yml | ||
kompose.version: 1.31.2 (HEAD) | ||
creationTimestamp: null | ||
labels: | ||
io.kompose.service: mongo | ||
name: mongo | ||
spec: | ||
ports: | ||
- name: "27017" | ||
port: 27017 | ||
targetPort: 27017 | ||
selector: | ||
io.kompose.service: mongo | ||
status: | ||
loadBalancer: {} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
apiVersion: v1 | ||
kind: PersistentVolumeClaim | ||
metadata: | ||
creationTimestamp: null | ||
labels: | ||
io.kompose.service: nginx-claim0 | ||
name: nginx-claim0 | ||
spec: | ||
accessModes: | ||
- ReadOnlyMany | ||
resources: | ||
requests: | ||
storage: 100Mi | ||
status: {} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
apiVersion: v1 | ||
kind: PersistentVolumeClaim | ||
metadata: | ||
creationTimestamp: null | ||
labels: | ||
io.kompose.service: nginx-claim1 | ||
name: nginx-claim1 | ||
spec: | ||
accessModes: | ||
- ReadOnlyMany | ||
resources: | ||
requests: | ||
storage: 100Mi | ||
status: {} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
apiVersion: v1 | ||
kind: PersistentVolumeClaim | ||
metadata: | ||
creationTimestamp: null | ||
labels: | ||
io.kompose.service: nginx-claim2 | ||
name: nginx-claim2 | ||
spec: | ||
accessModes: | ||
- ReadOnlyMany | ||
resources: | ||
requests: | ||
storage: 100Mi | ||
status: {} |
Oops, something went wrong.