diff --git a/.gitignore b/.gitignore index 10f24cc..5d1f676 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1,4 @@ -pvs/ \ No newline at end of file +pvs/ + +*.sql +*.tar.gz \ No newline at end of file diff --git a/README.md b/README.md new file mode 100644 index 0000000..5ffa0a0 --- /dev/null +++ b/README.md @@ -0,0 +1,6 @@ +# strix.systems + +## TODO + +[ ] ntr-cv static containers +[ ] grafana etc \ No newline at end of file diff --git a/crates.yaml b/crates.yaml index 6d65477..877e586 100644 --- a/crates.yaml +++ b/crates.yaml @@ -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' diff --git a/kustomization.yaml b/kustomization.yaml new file mode 100644 index 0000000..d384e1f --- /dev/null +++ b/kustomization.yaml @@ -0,0 +1,9 @@ +--- + +resources: + - crates.yaml + +images: + - name: postgres + newName: postgres + newTag: "14" diff --git a/spacerace.yaml b/spacerace.yaml index 30df5b1..8504911 100644 --- a/spacerace.yaml +++ b/spacerace.yaml @@ -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" ---