strix
This commit is contained in:
parent
0542bd00ae
commit
fa11315a0c
3
.gitignore
vendored
3
.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:
|
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
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
|
# 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"
|
||||||
|
|
||||||
---
|
---
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user