Remove Kamal & Docker

This commit is contained in:
2025-06-23 12:04:53 +02:00
parent e30249b929
commit a2d15e507d
3 changed files with 0 additions and 69 deletions

View File

@ -1,20 +0,0 @@
service: hpg
image: images/hpg.romein.me
servers:
web: [91.99.31.93]
proxy:
host: 'hpg.romein.me'
app_port: 80
healthcheck:
path: '/'
registry:
server: code.smartyellow.net
username: romein
password: [KAMAL_REGISTRY_PASSWORD]
builder:
arch: amd64
remote: ssh://root@91.99.31.93

View File

@ -1,13 +0,0 @@
FROM node:16-alpine AS build
WORKDIR /app
COPY package*.json ./
RUN npm install
COPY . .
RUN npm run build
FROM nginx:alpine
COPY nginx.conf /etc/nginx/conf.d/default.conf
WORKDIR /usr/share/nginx/html
COPY --from=build /app/content/.vitepress/dist .
ENTRYPOINT ["nginx", "-g", "daemon off;"]

View File

@ -1,36 +0,0 @@
server {
location / {
root /usr/share/nginx/html;
index index.html index.htm;
add_header Cache-Control "public, max-age=0";
try_files $uri $uri.html $uri/index.html $uri/index.htm $uri/ /index.html /index.htm =404;
}
location ^~ /immutable/ {
root /usr/share/nginx/html;
expires 1y;
}
location ^~ /bijlagen/ {
root /usr/share/nginx/html;
expires 1y;
}
error_page 500 502 503 504 /50x.html;
location = /50x.html {
root /usr/share/nginx/html;
try_files $uri @redirect_to_index;
internal;
}
error_page 404 = @handle_404;
location @handle_404 {
root /usr/share/nginx/html;
try_files /404.html @redirect_to_index;
internal;
}
location @redirect_to_index {
return 302 /;
}
}