Update Caddy and uptimekuma

Signed-off-by: Bensuperpc <bensuperpc@gmail.com>
This commit is contained in:
2025-11-09 21:14:10 +01:00
parent 5f8acf4315
commit bd1078d42e
15 changed files with 52 additions and 13 deletions

View File

@@ -25,7 +25,7 @@
PROJECT_DIRECTORY := infrastructure
CONFIG_DIRECTORY := presets
CONFIGS := minecraft
CONFIGS := minecraft 7dtd
#DOCKER_PROFILES :=
include DockerCompose.mk

View File

@@ -310,7 +310,7 @@ You will need to provide the following information:
```sh
https://forgejo.bensuperpc.org/
<Your Registration Token, in https://forgejo.bensuperpc.org/admin/actions/runners>
ubuntu-22.04:docker://ghcr.io/catthehacker/ubuntu:act-22.04
ubuntu-22.04:docker://ghcr.io/catthehacker/ubuntu:act-24.04
main
```

View File

@@ -12,4 +12,30 @@
}
}
import website/*
# import website/*
# Common settings
import website/header.caddy
# All website configurations
import website/main.caddy
import website/cyberchef.caddy
import website/forgejo.caddy
import website/homepage.caddy
import website/jellyfin.caddy
import website/memos.caddy
import website/open-webui.caddy
import website/privatebin.caddy
import website/psitransfer.caddy
import website/stirlingpdf.caddy
import website/transmission.caddy
import website/wordpress.caddy
import website/dufs.caddy
import website/it-tools.caddy
import website/omni-tools.caddy
import website/picoshare.caddy
import website/projectsend.caddy
import website/qbittorrent.caddy
import website/syncthing.caddy
import website/uptimekuma.caddy

View File

@@ -11,4 +11,5 @@
#Cross-Origin-Embedder-Policy: require-corp
Cross-Origin-Opener-Policy: same-origin
#Cross-Origin-Resource-Policy: same-origin
#Content-Security-Policy: default-src 'self'; img-src 'self' data:; object-src 'none'; frame-ancestors 'none'; base-uri 'self'; form-action 'self';
}

View File

@@ -6,4 +6,7 @@ it-tools.{$MAIN_DOMAIN} {
lb_retries 3
lb_try_interval 1s
}
header {
import header_common
}
}

View File

@@ -1,3 +1,6 @@
jellyfin.{$MAIN_DOMAIN} {
reverse_proxy jellyfin:8096
header {
import header_common
}
}

View File

@@ -1,3 +1,7 @@
uptimekuma.{$MAIN_DOMAIN} {
reverse_proxy uptime-kuma:3001
header {
Cache-Control "no-store"
import header_common
}
}

View File

@@ -59,7 +59,7 @@ services:
- forgejo_certs:/certs
forgejo_runner:
image: data.forgejo.org/forgejo/runner:9
image: data.forgejo.org/forgejo/runner:12
networks:
- infra-network
profiles:

View File

@@ -4,7 +4,7 @@ FORGEJO__database__DB_TYPE=mysql
FORGEJO__database__HOST=database_forgejo:3306
FORGEJO__database__NAME=forgejo
FORGEJO__database__USER=bensuperpc
FORGEJO__database__PASSWD=K7s5yoHknnEd7vsZoxb8I3dK9mjToF1j
FORGEJO__database__PASSWD=ZcuHcM9tnIEM7EEO7R5jCpEt6v1d6r7s
FORGEJO__APP_NAME=Bensuperpc's Forgejo
FORGEJO__APP_SLOGAN=Personal Code, Mirrors, and More
FORGEJO__server__DOMAIN=git.bensuperpc.org
@@ -13,9 +13,9 @@ FORGEJO__server__HTTP_PORT=3000
FORGEJO__server__SSH_LISTEN_PORT=2222
FORGEJO__server__SSH_PORT=22
FORGEJO__server__ROOT_URL=https://git.bensuperpc.org
FORGEJO__security__SECRET_KEY=ykcZt23an1E4lFHWvrCKdAyt16WAiK9c
FORGEJO__security__SECRET_KEY=7IWrMh7mC7UMo1SowvUsAT2LOX49eU6P
#FORGEJO__security__INTERNAL_TOKEN=
#FORGEJO__security__INSTALL_LOCK=true
FORGEJO__security__INSTALL_LOCK=true
FORGEJO__security__MIN_PASSWORD_LENGTH=8
FORGEJO__actions__ENABLED=true
FORGEJO__actions__DEFAULT_ACTIONS_URL="https://git.bensuperpc.org"

View File

@@ -1,4 +1,4 @@
MARIADB_ROOT_PASSWORD=xpc4zIhHZzWKqVHcjBu4aW6aS7jG8d7X
MARIADB_ROOT_PASSWORD=ZI8Trbot3b8WGqE5AKj1yphKMu4v9qQw
MARIADB_USER=bensuperpc
MARIADB_PASSWORD=K7s5yoHknnEd7vsZoxb8I3dK9mjToF1j
MARIADB_PASSWORD=ZcuHcM9tnIEM7EEO7R5jCpEt6v1d6r7s
MARIADB_DATABASE=forgejo

View File

@@ -5,7 +5,7 @@ DOCKER_MODS=linuxserver/mods:openssh-server-rsync
#PUBLIC_KEY_URL=https://github.com/bensuperpc.keys
PUBLIC_KEY_DIR=/authorized_ssh_keys
USER_NAME=admin
USER_PASSWORD=rdUwf36C11PLmpU9Lvq7tP5pfFBKAuCh
USER_PASSWORD=fdfdsfsd4585fd5sdf54dsf54f5
#PUBLIC_KEY=yourpublickey
#PUBLIC_KEY_FILE=/path/to/file

View File

@@ -1,4 +1,4 @@
SRCDS_TOKEN=
SRCDS_TOKEN=D3667770288B9CC33B0E526D441FA241
SRCDS_PW=linuxmasterrace
SRCDS_PORT=27015
SRCDS_MAXPLAYERS=32

View File

@@ -1,12 +1,13 @@
services:
# Uptime Kuma
uptime-kuma:
image: louislam/uptime-kuma:latest
image: louislam/uptime-kuma:2
container_name: uptime-kuma
profiles:
- uptime-kuma
volumes:
- uptimekuma_data:/app/data
- /var/run/docker.sock:/var/run/docker.sock:ro
restart: on-failure:5
depends_on:
- caddy

View File

@@ -1,3 +1,4 @@
DOCKER_PROFILES += main_infrastructure caddy
DOCKER_PROFILES += qbittorrent openssh
DOCKER_PROFILES += uptime-kuma
# transmission