mirror of
https://github.com/jaypyles/Scraperr.git
synced 2026-05-04 00:10:44 +00:00
8b2e5dc9c3
* chore: start on helm chart * chore: start on helm chart * chore: start on helm chart * chore: start on helm chart * chore: start on helm chart * chore: start on helm chart * chore: start on helm chart * chore: start on helm chart
47 lines
1020 B
YAML
47 lines
1020 B
YAML
scraperr:
|
|
image:
|
|
repository: jpyles0524/scraperr
|
|
tag: latest
|
|
pullPolicy: IfNotPresent
|
|
containerCommand: ["npm", "run","start"]
|
|
containerPort: 3000
|
|
serviceType: NodePort
|
|
ports:
|
|
- port: 80
|
|
targetPort: 3000
|
|
nodePort: 32300
|
|
protocol: TCP
|
|
env:
|
|
- name: NEXT_PUBLIC_API_URL
|
|
value: "http://scraperr-api:8000"
|
|
- name: SERVER_URL
|
|
value: "http://scraperr-api:8000"
|
|
|
|
scraperrApi:
|
|
image:
|
|
repository: jpyles0524/scraperr_api
|
|
tag: latest
|
|
pullPolicy: IfNotPresent
|
|
containerPort: 8000
|
|
serviceType: ClusterIP
|
|
ports:
|
|
- port: 8000
|
|
targetPort: 8000
|
|
protocol: TCP
|
|
env:
|
|
- name: LOG_LEVEL
|
|
value: "INFO"
|
|
volumeMounts:
|
|
- name: data
|
|
mountPath: /project/app/data
|
|
- name: media
|
|
mountPath: /project/app/media
|
|
volumes:
|
|
- name: data
|
|
hostPath:
|
|
path: /data/scraperr/data
|
|
type: DirectoryOrCreate
|
|
- name: media
|
|
hostPath:
|
|
path: /data/scraperr/media
|
|
replicaCount: 1 |