Skip to content

Commit 6bb15ac

Browse files
committed
2 parents 364b653 + 0bb0f78 commit 6bb15ac

12 files changed

Lines changed: 182 additions & 3 deletions

File tree

infrastructure/controllers/argocd/kustomization.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ resources:
1111
helmCharts:
1212
- name: argo-cd
1313
repo: https://argoproj.github.io/argo-helm
14-
version: "9.2.3" # It's good practice to pin the chart version
14+
version: "9.2.4" # It's good practice to pin the chart version
1515
releaseName: argocd
1616
namespace: argocd
1717
valuesFile: values.yaml

my-apps/ai/llama-cpp/deployment.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ spec:
3333
fsGroupChangePolicy: "OnRootMismatch"
3434
containers:
3535
- name: llama-cpp-server
36-
image: ghcr.io/ggml-org/llama.cpp:server-cuda-b7616
36+
image: ghcr.io/ggml-org/llama.cpp:server-cuda-b7623
3737
imagePullPolicy: IfNotPresent
3838
command: ["/app/llama-server"]
3939
args:

my-apps/development/it-tools/deployment.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ spec:
1919
spec:
2020
containers:
2121
- name: it-tools
22-
image: ghcr.io/sharevb/it-tools:nightly@sha256:12d8c68a3096ebaf342ecd28ba5b86a8851d714aace3a83229dccc88156ae3f3
22+
image: ghcr.io/sharevb/it-tools:nightly@sha256:db9e68aa65597a6111cd0e7ccb171abce43d62dbd2103e7ec1f68e9a8c5ee9e9
2323
imagePullPolicy: IfNotPresent
2424
env:
2525
- name: TZ
Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
apiVersion: v1
2+
kind: PersistentVolumeClaim
3+
metadata:
4+
name: copyparty-config-pvc
5+
namespace: copyparty
6+
spec:
7+
accessModes:
8+
- ReadWriteOnce
9+
resources:
10+
requests:
11+
storage: 1Gi
12+
storageClassName: longhorn
Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
[global]
2+
p: 3923
3+
e2dsa # Enable file indexing
4+
e2ts # Enable metadata indexing
5+
qr # Show QR codes
6+
no-robots # Add noindex headers
7+
fk: 10 # Trust reverse proxy
8+
allow-csrf # Disable CSRF checks (fixes CORS issue)
9+
10+
[accounts]
11+
admin: copyparty
12+
13+
[/]
14+
/data
15+
accs:
16+
r: * # Read access for everyone
17+
rwda: admin # Read-write-delete-admin for admin
Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
apiVersion: v1
2+
kind: PersistentVolumeClaim
3+
metadata:
4+
name: copyparty-data
5+
namespace: copyparty
6+
spec:
7+
accessModes:
8+
- ReadWriteOnce
9+
resources:
10+
requests:
11+
storage: 80Gi
12+
storageClassName: longhorn
Lines changed: 68 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,68 @@
1+
apiVersion: apps/v1
2+
kind: Deployment
3+
metadata:
4+
name: copyparty
5+
namespace: copyparty
6+
labels:
7+
app: copyparty
8+
spec:
9+
replicas: 1
10+
strategy:
11+
type: Recreate
12+
selector:
13+
matchLabels:
14+
app: copyparty
15+
template:
16+
metadata:
17+
labels:
18+
app: copyparty
19+
spec:
20+
containers:
21+
- name: copyparty
22+
image: copyparty/ac:latest
23+
imagePullPolicy: IfNotPresent
24+
ports:
25+
- name: http
26+
containerPort: 3923
27+
protocol: TCP
28+
volumeMounts:
29+
- name: data
30+
mountPath: /data
31+
- name: config
32+
mountPath: /cfg/copyparty.conf
33+
subPath: copyparty.conf
34+
env:
35+
- name: PUID
36+
value: "1000"
37+
- name: PGID
38+
value: "1000"
39+
- name: TZ
40+
value: "America/Detroit"
41+
- name: X_CFG
42+
value: "/cfg/copyparty.conf"
43+
resources:
44+
requests:
45+
memory: "256Mi"
46+
cpu: "100m"
47+
limits:
48+
memory: "1Gi"
49+
cpu: "2000m"
50+
livenessProbe:
51+
httpGet:
52+
path: /
53+
port: http
54+
initialDelaySeconds: 30
55+
periodSeconds: 10
56+
readinessProbe:
57+
httpGet:
58+
path: /
59+
port: http
60+
initialDelaySeconds: 5
61+
periodSeconds: 5
62+
volumes:
63+
- name: data
64+
persistentVolumeClaim:
65+
claimName: copyparty-data
66+
- name: config
67+
configMap:
68+
name: copyparty-config
Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
apiVersion: gateway.networking.k8s.io/v1
2+
kind: HTTPRoute
3+
metadata:
4+
name: copyparty
5+
namespace: copyparty
6+
spec:
7+
parentRefs:
8+
- group: gateway.networking.k8s.io
9+
kind: Gateway
10+
name: gateway-internal
11+
namespace: gateway
12+
hostnames:
13+
- "copyparty.vanillax.me"
14+
rules:
15+
- matches:
16+
- path:
17+
type: PathPrefix
18+
value: /
19+
backendRefs:
20+
- group: ""
21+
kind: Service
22+
name: copyparty
23+
port: 3923
Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
apiVersion: kustomize.config.k8s.io/v1beta1
2+
kind: Kustomization
3+
namespace: copyparty
4+
5+
generatorOptions:
6+
disableNameSuffixHash: true
7+
8+
resources:
9+
- ns.yaml
10+
- data-pvc.yaml
11+
- deployment.yaml
12+
- svc.yaml
13+
- httproute.yaml
14+
15+
configMapGenerator:
16+
- name: copyparty-config
17+
files:
18+
- copyparty.conf
Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
apiVersion: v1
2+
kind: PersistentVolumeClaim
3+
metadata:
4+
name: copyparty-media
5+
namespace: copyparty
6+
spec:
7+
accessModes:
8+
- ReadWriteOnce
9+
resources:
10+
requests:
11+
storage: 10Gi
12+
storageClassName: longhorn

0 commit comments

Comments
 (0)