Change provider from npm to nginx

This commit is contained in:
2025-07-01 21:57:58 +02:00
parent 767037a66f
commit 158a19d35e
5 changed files with 31 additions and 14 deletions

7
custom/compose.yaml Normal file
View File

@ -0,0 +1,7 @@
services:
web:
image: quartz-jpg
container_name: quartz-jpg
ports:
- "8080:80"

View File

@ -1,12 +0,0 @@
services:
quartz:
image: quartz-jpg
build:
context: .
dockerfile: Dockerfile
environment:
NODE_ENV: production
container_name: quartz-jpg-container
restart: always
ports:
- 8080:8080

3
custom/init-repos.sh Normal file
View File

@ -0,0 +1,3 @@
git remote add content https://git.marchal.dev/keb/jpg-content.git
git remote add convert-furigana https://git.marchal.dev/keb/jpg-convert-furigana.git
git remote add convert-usage https://git.marchal.dev/keb/jpg-convert-usage.git

13
custom/nginx/default.conf Normal file
View File

@ -0,0 +1,13 @@
server {
listen 80;
listen [::]:80;
server_name localhost;
root /usr/share/nginx/html;
index index.html
error_page 404 /404.html;
location / {
try_files $uri $uri.html $uri/ =404;
}
}