From fd186d43ca7c10526b7bce243633417ba87107df Mon Sep 17 00:00:00 2001 From: mo8it Date: Mon, 1 Apr 2024 22:02:29 +0200 Subject: [PATCH] Remove juna-li.com --- containers/juna-li-com/juna-li-com.container | 12 ----------- containers/juna-li-com/juna-li-com.fish | 22 -------------------- volumes/traefik/dynamic.yml | 14 ------------- 3 files changed, 48 deletions(-) delete mode 100644 containers/juna-li-com/juna-li-com.container delete mode 100755 containers/juna-li-com/juna-li-com.fish diff --git a/containers/juna-li-com/juna-li-com.container b/containers/juna-li-com/juna-li-com.container deleted file mode 100644 index 3dd6a22..0000000 --- a/containers/juna-li-com/juna-li-com.container +++ /dev/null @@ -1,12 +0,0 @@ -[Container] -Image=docker.io/library/nginx:1 -AutoUpdate=registry -Network=traefik.network -Volume=%h/sync/volumes/nginx.conf:/etc/nginx/nginx.conf:z,ro -Volume=%h/volumes/juna-li-com/public:/usr/share/nginx/html:Z,ro - -[Service] -Restart=always - -[Install] -WantedBy=default.target diff --git a/containers/juna-li-com/juna-li-com.fish b/containers/juna-li-com/juna-li-com.fish deleted file mode 100755 index 16a7cbf..0000000 --- a/containers/juna-li-com/juna-li-com.fish +++ /dev/null @@ -1,22 +0,0 @@ -#!/usr/bin/env fish - -set -l container_name juna-li-com - -mkdir -p ~/volumes/$container_name - -podman run \ - --rm \ - --pull newer \ - -v ~/code/juna-li.com:/volumes/src:Z \ - -w /volumes/src \ - docker.io/library/node:slim bash -c "npm add tailwindcss && npx tailwindcss -m -i input.css -o static/main.css" - -podman run \ - --rm \ - --pull newer \ - -v ~/code/juna-li.com:/volumes/src:Z,ro \ - -v ~/volumes/$container_name:/volumes/output:Z \ - -w /volumes/src \ - ghcr.io/getzola/zola:v0.18.0 build -o /volumes/output/public -f - -systemctl --user restart juna-li-com diff --git a/volumes/traefik/dynamic.yml b/volumes/traefik/dynamic.yml index e53292d..c4c6b86 100644 --- a/volumes/traefik/dynamic.yml +++ b/volumes/traefik/dynamic.yml @@ -6,11 +6,6 @@ http: regex: "^https://www\\.(yinghong-massage\\.de.*)" replacement: "https://${1}" permanent: true - remove_www_juna_li_com: - redirectRegex: - regex: "^https://www\\.(juna-li\\.com.*)" - replacement: "https://${1}" - permanent: true remove_www_mo8it_com: redirectRegex: regex: "^https://www\\.(mo8it\\.com.*)" @@ -33,11 +28,6 @@ http: permanent: true routers: - to_juna_li_com: - rule: Host(`juna-li.com`) || Host(`www.juna-li.com`) - middlewares: - - remove_www_juna_li_com - service: juna_li_com to_forgejo: rule: Host(`git.mo8it.com`) service: forgejo @@ -129,10 +119,6 @@ http: loadBalancer: servers: - url: http://systemd-mo8it-com - juna_li_com: - loadBalancer: - servers: - - url: http://systemd-juna-li-com yinghong_massage_de: loadBalancer: servers: