This commit is contained in:
Nathan Rashleigh committed 2024-01-18 21:00:04 +11:00
1 parent 0542bd00ae
commit fa11315a0c
5 files changed
+23 -3

No files matched your search

+3
View File
@@ -1 +1,4 @@
pvs/ pvs/
*.sql
*.tar.gz
+6
View File
@@ -0,0 +1,6 @@
# strix.systems
## TODO
[ ] ntr-cv static containers
[ ] grafana etc
+2 -2
View File
@@ -54,7 +54,7 @@ spec:
spec: spec:
containers: containers:
- name: postgres - name: postgres
image: postgres:latest image: postgres:16
ports: ports:
- containerPort: 5432 - containerPort: 5432
env: env:
@@ -126,7 +126,7 @@ spec:
image: crates-api image: crates-api
imagePullPolicy: IfNotPresent imagePullPolicy: IfNotPresent
command: ["npx"] command: ["npx"]
args: ["prisma", "migrate", "dev"] args: ["prisma", "migrate", "deploy"]
env: env:
- name: DATABASE_URL - name: DATABASE_URL
value: 'postgresql://crates:digdeep@crates-postgres:5432/crates?schema=public' value: 'postgresql://crates:digdeep@crates-postgres:5432/crates?schema=public'
+9
View File
@@ -0,0 +1,9 @@
---
resources:
- crates.yaml
images:
- name: postgres
newName: postgres
newTag: "14"
+3 -1
View File
@@ -2,6 +2,8 @@
# VOLUMES # VOLUMES
# ----------------------------------------------------------------------- # -----------------------------------------------------------------------
---
apiVersion: v1 apiVersion: v1
kind: PersistentVolume kind: PersistentVolume
metadata: metadata:
@@ -17,7 +19,7 @@ spec:
namespace: default namespace: default
name: spacerace-postgres-pvc name: spacerace-postgres-pvc
hostPath: hostPath:
path: "/home/ntr/strix/pvs/spacerace-postgres" # Specify the local path on your node path: "/home/ntr/strix/pvs/spacerace-postgres"
--- ---