strix
This commit is contained in:
parent
0542bd00ae
commit
fa11315a0c
5
.gitignore
vendored
5
.gitignore
vendored
@ -1 +1,4 @@
|
||||
pvs/
|
||||
pvs/
|
||||
|
||||
*.sql
|
||||
*.tar.gz
|
||||
6
README.md
Normal file
6
README.md
Normal file
@ -0,0 +1,6 @@
|
||||
# strix.systems
|
||||
|
||||
## TODO
|
||||
|
||||
[ ] ntr-cv static containers
|
||||
[ ] grafana etc
|
||||
@ -54,7 +54,7 @@ spec:
|
||||
spec:
|
||||
containers:
|
||||
- name: postgres
|
||||
image: postgres:latest
|
||||
image: postgres:16
|
||||
ports:
|
||||
- containerPort: 5432
|
||||
env:
|
||||
@ -126,7 +126,7 @@ spec:
|
||||
image: crates-api
|
||||
imagePullPolicy: IfNotPresent
|
||||
command: ["npx"]
|
||||
args: ["prisma", "migrate", "dev"]
|
||||
args: ["prisma", "migrate", "deploy"]
|
||||
env:
|
||||
- name: DATABASE_URL
|
||||
value: 'postgresql://crates:digdeep@crates-postgres:5432/crates?schema=public'
|
||||
|
||||
9
kustomization.yaml
Normal file
9
kustomization.yaml
Normal file
@ -0,0 +1,9 @@
|
||||
---
|
||||
|
||||
resources:
|
||||
- crates.yaml
|
||||
|
||||
images:
|
||||
- name: postgres
|
||||
newName: postgres
|
||||
newTag: "14"
|
||||
@ -2,6 +2,8 @@
|
||||
# VOLUMES
|
||||
# -----------------------------------------------------------------------
|
||||
|
||||
---
|
||||
|
||||
apiVersion: v1
|
||||
kind: PersistentVolume
|
||||
metadata:
|
||||
@ -9,15 +11,15 @@ metadata:
|
||||
spec:
|
||||
storageClassName: ""
|
||||
capacity:
|
||||
storage: 1Gi
|
||||
storage: 1Gi
|
||||
accessModes:
|
||||
- ReadWriteOnce
|
||||
- ReadWriteOnce
|
||||
persistentVolumeReclaimPolicy: Retain
|
||||
claimRef:
|
||||
namespace: default
|
||||
name: spacerace-postgres-pvc
|
||||
namespace: default
|
||||
name: spacerace-postgres-pvc
|
||||
hostPath:
|
||||
path: "/home/ntr/strix/pvs/spacerace-postgres" # Specify the local path on your node
|
||||
path: "/home/ntr/strix/pvs/spacerace-postgres"
|
||||
|
||||
---
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user