mirror of
https://github.com/bensuperpc/infrastructure.git
synced 2026-04-19 01:31:23 +02:00
Update Caddy and uptimekuma
Signed-off-by: Bensuperpc <bensuperpc@gmail.com>
This commit is contained in:
@@ -25,7 +25,7 @@
|
|||||||
PROJECT_DIRECTORY := infrastructure
|
PROJECT_DIRECTORY := infrastructure
|
||||||
CONFIG_DIRECTORY := presets
|
CONFIG_DIRECTORY := presets
|
||||||
|
|
||||||
CONFIGS := minecraft
|
CONFIGS := minecraft 7dtd
|
||||||
#DOCKER_PROFILES :=
|
#DOCKER_PROFILES :=
|
||||||
|
|
||||||
include DockerCompose.mk
|
include DockerCompose.mk
|
||||||
|
|||||||
@@ -310,7 +310,7 @@ You will need to provide the following information:
|
|||||||
```sh
|
```sh
|
||||||
https://forgejo.bensuperpc.org/
|
https://forgejo.bensuperpc.org/
|
||||||
<Your Registration Token, in https://forgejo.bensuperpc.org/admin/actions/runners>
|
<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
|
main
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|||||||
@@ -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
|
||||||
|
|||||||
@@ -11,4 +11,5 @@
|
|||||||
#Cross-Origin-Embedder-Policy: require-corp
|
#Cross-Origin-Embedder-Policy: require-corp
|
||||||
Cross-Origin-Opener-Policy: same-origin
|
Cross-Origin-Opener-Policy: same-origin
|
||||||
#Cross-Origin-Resource-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';
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -6,4 +6,7 @@ it-tools.{$MAIN_DOMAIN} {
|
|||||||
lb_retries 3
|
lb_retries 3
|
||||||
lb_try_interval 1s
|
lb_try_interval 1s
|
||||||
}
|
}
|
||||||
|
header {
|
||||||
|
import header_common
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1,3 +1,6 @@
|
|||||||
jellyfin.{$MAIN_DOMAIN} {
|
jellyfin.{$MAIN_DOMAIN} {
|
||||||
reverse_proxy jellyfin:8096
|
reverse_proxy jellyfin:8096
|
||||||
|
header {
|
||||||
|
import header_common
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1,3 +1,7 @@
|
|||||||
uptimekuma.{$MAIN_DOMAIN} {
|
uptimekuma.{$MAIN_DOMAIN} {
|
||||||
reverse_proxy uptime-kuma:3001
|
reverse_proxy uptime-kuma:3001
|
||||||
|
header {
|
||||||
|
Cache-Control "no-store"
|
||||||
|
import header_common
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -59,7 +59,7 @@ services:
|
|||||||
- forgejo_certs:/certs
|
- forgejo_certs:/certs
|
||||||
|
|
||||||
forgejo_runner:
|
forgejo_runner:
|
||||||
image: data.forgejo.org/forgejo/runner:9
|
image: data.forgejo.org/forgejo/runner:12
|
||||||
networks:
|
networks:
|
||||||
- infra-network
|
- infra-network
|
||||||
profiles:
|
profiles:
|
||||||
|
|||||||
+3
-3
@@ -4,7 +4,7 @@ FORGEJO__database__DB_TYPE=mysql
|
|||||||
FORGEJO__database__HOST=database_forgejo:3306
|
FORGEJO__database__HOST=database_forgejo:3306
|
||||||
FORGEJO__database__NAME=forgejo
|
FORGEJO__database__NAME=forgejo
|
||||||
FORGEJO__database__USER=bensuperpc
|
FORGEJO__database__USER=bensuperpc
|
||||||
FORGEJO__database__PASSWD=K7s5yoHknnEd7vsZoxb8I3dK9mjToF1j
|
FORGEJO__database__PASSWD=ZcuHcM9tnIEM7EEO7R5jCpEt6v1d6r7s
|
||||||
FORGEJO__APP_NAME=Bensuperpc's Forgejo
|
FORGEJO__APP_NAME=Bensuperpc's Forgejo
|
||||||
FORGEJO__APP_SLOGAN=Personal Code, Mirrors, and More
|
FORGEJO__APP_SLOGAN=Personal Code, Mirrors, and More
|
||||||
FORGEJO__server__DOMAIN=git.bensuperpc.org
|
FORGEJO__server__DOMAIN=git.bensuperpc.org
|
||||||
@@ -13,9 +13,9 @@ FORGEJO__server__HTTP_PORT=3000
|
|||||||
FORGEJO__server__SSH_LISTEN_PORT=2222
|
FORGEJO__server__SSH_LISTEN_PORT=2222
|
||||||
FORGEJO__server__SSH_PORT=22
|
FORGEJO__server__SSH_PORT=22
|
||||||
FORGEJO__server__ROOT_URL=https://git.bensuperpc.org
|
FORGEJO__server__ROOT_URL=https://git.bensuperpc.org
|
||||||
FORGEJO__security__SECRET_KEY=ykcZt23an1E4lFHWvrCKdAyt16WAiK9c
|
FORGEJO__security__SECRET_KEY=7IWrMh7mC7UMo1SowvUsAT2LOX49eU6P
|
||||||
#FORGEJO__security__INTERNAL_TOKEN=
|
#FORGEJO__security__INTERNAL_TOKEN=
|
||||||
#FORGEJO__security__INSTALL_LOCK=true
|
FORGEJO__security__INSTALL_LOCK=true
|
||||||
FORGEJO__security__MIN_PASSWORD_LENGTH=8
|
FORGEJO__security__MIN_PASSWORD_LENGTH=8
|
||||||
FORGEJO__actions__ENABLED=true
|
FORGEJO__actions__ENABLED=true
|
||||||
FORGEJO__actions__DEFAULT_ACTIONS_URL="https://git.bensuperpc.org"
|
FORGEJO__actions__DEFAULT_ACTIONS_URL="https://git.bensuperpc.org"
|
||||||
|
|||||||
+2
-2
@@ -1,4 +1,4 @@
|
|||||||
MARIADB_ROOT_PASSWORD=xpc4zIhHZzWKqVHcjBu4aW6aS7jG8d7X
|
MARIADB_ROOT_PASSWORD=ZI8Trbot3b8WGqE5AKj1yphKMu4v9qQw
|
||||||
MARIADB_USER=bensuperpc
|
MARIADB_USER=bensuperpc
|
||||||
MARIADB_PASSWORD=K7s5yoHknnEd7vsZoxb8I3dK9mjToF1j
|
MARIADB_PASSWORD=ZcuHcM9tnIEM7EEO7R5jCpEt6v1d6r7s
|
||||||
MARIADB_DATABASE=forgejo
|
MARIADB_DATABASE=forgejo
|
||||||
Submodule infrastructure/services/minecraft-server updated: eb36841abf...ee02f78a85
+1
-1
@@ -5,7 +5,7 @@ DOCKER_MODS=linuxserver/mods:openssh-server-rsync
|
|||||||
#PUBLIC_KEY_URL=https://github.com/bensuperpc.keys
|
#PUBLIC_KEY_URL=https://github.com/bensuperpc.keys
|
||||||
PUBLIC_KEY_DIR=/authorized_ssh_keys
|
PUBLIC_KEY_DIR=/authorized_ssh_keys
|
||||||
USER_NAME=admin
|
USER_NAME=admin
|
||||||
USER_PASSWORD=rdUwf36C11PLmpU9Lvq7tP5pfFBKAuCh
|
USER_PASSWORD=fdfdsfsd4585fd5sdf54dsf54f5
|
||||||
|
|
||||||
#PUBLIC_KEY=yourpublickey
|
#PUBLIC_KEY=yourpublickey
|
||||||
#PUBLIC_KEY_FILE=/path/to/file
|
#PUBLIC_KEY_FILE=/path/to/file
|
||||||
|
|||||||
+1
-1
@@ -1,4 +1,4 @@
|
|||||||
SRCDS_TOKEN=
|
SRCDS_TOKEN=D3667770288B9CC33B0E526D441FA241
|
||||||
SRCDS_PW=linuxmasterrace
|
SRCDS_PW=linuxmasterrace
|
||||||
SRCDS_PORT=27015
|
SRCDS_PORT=27015
|
||||||
SRCDS_MAXPLAYERS=32
|
SRCDS_MAXPLAYERS=32
|
||||||
|
|||||||
@@ -1,12 +1,13 @@
|
|||||||
services:
|
services:
|
||||||
# Uptime Kuma
|
# Uptime Kuma
|
||||||
uptime-kuma:
|
uptime-kuma:
|
||||||
image: louislam/uptime-kuma:latest
|
image: louislam/uptime-kuma:2
|
||||||
container_name: uptime-kuma
|
container_name: uptime-kuma
|
||||||
profiles:
|
profiles:
|
||||||
- uptime-kuma
|
- uptime-kuma
|
||||||
volumes:
|
volumes:
|
||||||
- uptimekuma_data:/app/data
|
- uptimekuma_data:/app/data
|
||||||
|
- /var/run/docker.sock:/var/run/docker.sock:ro
|
||||||
restart: on-failure:5
|
restart: on-failure:5
|
||||||
depends_on:
|
depends_on:
|
||||||
- caddy
|
- caddy
|
||||||
|
|||||||
@@ -1,3 +1,4 @@
|
|||||||
DOCKER_PROFILES += main_infrastructure caddy
|
DOCKER_PROFILES += main_infrastructure caddy
|
||||||
DOCKER_PROFILES += qbittorrent openssh
|
DOCKER_PROFILES += qbittorrent openssh
|
||||||
|
DOCKER_PROFILES += uptime-kuma
|
||||||
# transmission
|
# transmission
|
||||||
|
|||||||
Reference in New Issue
Block a user