use internal registry
Signed-off-by: Xe Iaso <me@xeiaso.net>
This commit is contained in:
parent
2848465630
commit
6fa1904a50
@ -37,6 +37,7 @@ next-env.d.ts
|
|||||||
|
|
||||||
# Kubernetes
|
# Kubernetes
|
||||||
/manifest/
|
/manifest/
|
||||||
|
Earthfile
|
||||||
|
|
||||||
# Content collections
|
# Content collections
|
||||||
.content-collections
|
.content-collections
|
@ -27,9 +27,8 @@ run:
|
|||||||
COPY +build/app/.next/standalone /app
|
COPY +build/app/.next/standalone /app
|
||||||
COPY +build/app/.next/static /app/.next/static
|
COPY +build/app/.next/static /app/.next/static
|
||||||
COPY +build/app/public /app/public
|
COPY +build/app/public /app/public
|
||||||
RUN mkdir -p /app/.next/cache
|
|
||||||
|
|
||||||
EXPOSE 3000
|
EXPOSE 3000
|
||||||
CMD [ "node", "server.js" ]
|
CMD [ "node", "server.js" ]
|
||||||
|
|
||||||
SAVE IMAGE --push ghcr.io/xe/techaro-lol
|
SAVE IMAGE --push registry.default.svc.alrest.xeserv.us/techaro/www
|
@ -13,7 +13,7 @@ spec:
|
|||||||
service: techaro-lol
|
service: techaro-lol
|
||||||
port: 80
|
port: 80
|
||||||
replicas:
|
replicas:
|
||||||
min: 0
|
min: 1
|
||||||
max: 10
|
max: 10
|
||||||
scaledownPeriod: 300
|
scaledownPeriod: 300
|
||||||
scalingMetric:
|
scalingMetric:
|
||||||
|
@ -16,7 +16,7 @@ spec:
|
|||||||
claimName: techaro-lol-temp
|
claimName: techaro-lol-temp
|
||||||
containers:
|
containers:
|
||||||
- name: main
|
- name: main
|
||||||
image: ghcr.io/xe/techaro-lol:latest
|
image: registry.default.svc.alrest.xeserv.us/techaro/www:latest
|
||||||
imagePullPolicy: "Always"
|
imagePullPolicy: "Always"
|
||||||
resources:
|
resources:
|
||||||
limits:
|
limits:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user