add more confs and stuff
This commit is contained in:
@@ -0,0 +1,8 @@
|
|||||||
|
.env
|
||||||
|
*.env
|
||||||
|
vw-data/
|
||||||
|
pg-data/
|
||||||
|
uploads/
|
||||||
|
public/
|
||||||
|
.DS_Store
|
||||||
|
.thumbs
|
||||||
@@ -1,4 +1,4 @@
|
|||||||
#? Config file for btop v.1.4.6
|
#? Config file for btop v.1.4.7
|
||||||
|
|
||||||
#* Name of a btop++/bpytop/bashtop formatted ".theme" file, "Default" and "TTY" for builtin themes.
|
#* Name of a btop++/bpytop/bashtop formatted ".theme" file, "Default" and "TTY" for builtin themes.
|
||||||
#* Themes should be placed in "../share/btop/themes" relative to binary or "$HOME/.config/btop/themes"
|
#* Themes should be placed in "../share/btop/themes" relative to binary or "$HOME/.config/btop/themes"
|
||||||
@@ -14,6 +14,11 @@ truecolor = true
|
|||||||
#* Will force 16-color mode and TTY theme, set all graph symbols to "tty" and swap out other non tty friendly symbols.
|
#* Will force 16-color mode and TTY theme, set all graph symbols to "tty" and swap out other non tty friendly symbols.
|
||||||
force_tty = false
|
force_tty = false
|
||||||
|
|
||||||
|
#* Option to disable presets. Either the default preset, custom presets, or all presets.
|
||||||
|
#* "Off" All presets are enabled.
|
||||||
|
#* "Default" preset is disabled.#* "Custom" presets are disabled.#* "All" presets are disabled.
|
||||||
|
disable_presets = "Off"
|
||||||
|
|
||||||
#* Define presets for the layout of the boxes. Preset 0 is always all boxes shown with default settings. Max 9 presets.
|
#* Define presets for the layout of the boxes. Preset 0 is always all boxes shown with default settings. Max 9 presets.
|
||||||
#* Format: "box_name:P:G,box_name:P:G" P=(0 or 1) for alternate positions, G=graph symbol to use for box.
|
#* Format: "box_name:P:G,box_name:P:G" P=(0 or 1) for alternate positions, G=graph symbol to use for box.
|
||||||
#* Use whitespace " " as separator between different presets.
|
#* Use whitespace " " as separator between different presets.
|
||||||
@@ -24,6 +29,9 @@ presets = "cpu:1:default,proc:0:default cpu:0:default,mem:0:default,net:0:defaul
|
|||||||
#* Conflicting keys for h:"help" and k:"kill" is accessible while holding shift.
|
#* Conflicting keys for h:"help" and k:"kill" is accessible while holding shift.
|
||||||
vim_keys = false
|
vim_keys = false
|
||||||
|
|
||||||
|
#* Disable all mouse events.
|
||||||
|
disable_mouse = false
|
||||||
|
|
||||||
#* Rounded corners on boxes, is ignored if TTY mode is ON.
|
#* Rounded corners on boxes, is ignored if TTY mode is ON.
|
||||||
rounded_corners = true
|
rounded_corners = true
|
||||||
|
|
||||||
@@ -92,6 +100,9 @@ proc_left = false
|
|||||||
#* (Linux) Filter processes tied to the Linux kernel(similar behavior to htop).
|
#* (Linux) Filter processes tied to the Linux kernel(similar behavior to htop).
|
||||||
proc_filter_kernel = false
|
proc_filter_kernel = false
|
||||||
|
|
||||||
|
#* Should the process list follow the selected process when detailed view is open.
|
||||||
|
proc_follow_detailed = true
|
||||||
|
|
||||||
#* In tree-view, always accumulate child process resources in the parent process.
|
#* In tree-view, always accumulate child process resources in the parent process.
|
||||||
proc_aggregate = false
|
proc_aggregate = false
|
||||||
|
|
||||||
@@ -208,6 +219,9 @@ io_graph_combined = false
|
|||||||
#* Example: "/mnt/media:100 /:20 /boot:1".
|
#* Example: "/mnt/media:100 /:20 /boot:1".
|
||||||
io_graph_speeds = ""
|
io_graph_speeds = ""
|
||||||
|
|
||||||
|
#* Swap the positions of the upload and download speed graphs. When true, upload will be on top.
|
||||||
|
swap_upload_download = false
|
||||||
|
|
||||||
#* Set fixed values for network graphs in Mebibits. Is only used if net_auto is also set to False.
|
#* Set fixed values for network graphs in Mebibits. Is only used if net_auto is also set to False.
|
||||||
net_download = 100
|
net_download = 100
|
||||||
|
|
||||||
@@ -250,7 +264,7 @@ rsmi_measure_pcie_speeds = true
|
|||||||
#* Horizontally mirror the GPU graph.
|
#* Horizontally mirror the GPU graph.
|
||||||
gpu_mirror_graph = true
|
gpu_mirror_graph = true
|
||||||
|
|
||||||
#* Set which GPU vendors to show. Available values are "nvidia amd intel"
|
#* Set which GPU vendors to show. Available values are "nvidia amd intel apple"
|
||||||
shown_gpus = "nvidia amd intel"
|
shown_gpus = "nvidia amd intel"
|
||||||
|
|
||||||
#* Custom gpu0 model name, empty string to disable.
|
#* Custom gpu0 model name, empty string to disable.
|
||||||
|
|||||||
@@ -0,0 +1,126 @@
|
|||||||
|
{
|
||||||
|
auto_https off
|
||||||
|
order crowdsec first
|
||||||
|
order rate_limit before crowdsec
|
||||||
|
servers {
|
||||||
|
timeouts {
|
||||||
|
read_body 60m
|
||||||
|
read_header 10s
|
||||||
|
write 0s
|
||||||
|
idle 120s
|
||||||
|
}
|
||||||
|
max_header_size 64kb
|
||||||
|
}
|
||||||
|
crowdsec {
|
||||||
|
api_url http://crowdsec:8080
|
||||||
|
api_key xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
|
||||||
|
ticker_interval 15s
|
||||||
|
disable_streaming
|
||||||
|
enable_hard_fails
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
(rate_limit_strict) {
|
||||||
|
rate_limit {
|
||||||
|
zone strict {
|
||||||
|
key {client_ip}
|
||||||
|
events 5000
|
||||||
|
window 1m
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
(rate_limit_login) {
|
||||||
|
rate_limit {
|
||||||
|
zone login {
|
||||||
|
key {client_ip}
|
||||||
|
events 500
|
||||||
|
window 5m
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
(security_headers) {
|
||||||
|
header {
|
||||||
|
X-Content-Type-Options nosniff
|
||||||
|
X-Frame-Options SAMEORIGIN
|
||||||
|
Referrer-Policy no-referrer
|
||||||
|
X-Permitted-Cross-Domain-Policies none
|
||||||
|
-Server
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
(access_log) {
|
||||||
|
log {
|
||||||
|
output file /var/log/caddy/access.log {
|
||||||
|
roll_size 100mb
|
||||||
|
roll_keep 5
|
||||||
|
}
|
||||||
|
format json
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
http://vacpro.fyi {
|
||||||
|
import access_log
|
||||||
|
import security_headers
|
||||||
|
import rate_limit_strict
|
||||||
|
redir http://moxiu.vacpro.fyi{uri}
|
||||||
|
}
|
||||||
|
|
||||||
|
http://moxiu.vacpro.fyi {
|
||||||
|
import access_log
|
||||||
|
import security_headers
|
||||||
|
import rate_limit_strict
|
||||||
|
reverse_proxy 172.17.0.1:3001
|
||||||
|
}
|
||||||
|
|
||||||
|
http://photos.vacpro.fyi {
|
||||||
|
import access_log
|
||||||
|
import security_headers
|
||||||
|
import rate_limit_strict
|
||||||
|
reverse_proxy immich_server:2283 {
|
||||||
|
header_up X-Forwarded-For {client_ip}
|
||||||
|
header_up X-Forwarded-Proto https
|
||||||
|
header_up X-Real-IP {client_ip}
|
||||||
|
header_up Host {host}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
http://zita.vacpro.fyi {
|
||||||
|
import access_log
|
||||||
|
import security_headers
|
||||||
|
import rate_limit_login
|
||||||
|
reverse_proxy zitadel-proxy-1:80 {
|
||||||
|
header_up X-Forwarded-For {client_ip}
|
||||||
|
header_up X-Forwarded-Proto https
|
||||||
|
header_up X-Forwarded-Host {host}
|
||||||
|
header_up X-Real-IP {client_ip}
|
||||||
|
header_up Host {host}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
http://vw.vacpro.fyi {
|
||||||
|
import access_log
|
||||||
|
import security_headers
|
||||||
|
import rate_limit_login
|
||||||
|
reverse_proxy vaultwarden:80 {
|
||||||
|
header_up X-Forwarded-For {client_ip}
|
||||||
|
header_up X-Forwarded-Proto https
|
||||||
|
header_up X-Forwarded-Host {host}
|
||||||
|
header_up X-Real-IP {client_ip}
|
||||||
|
header_up Host {host}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
http://zip.vacpro.fyi {
|
||||||
|
request_body {
|
||||||
|
max_size 200GB
|
||||||
|
}
|
||||||
|
reverse_proxy zipline:3000 {
|
||||||
|
header_up X-Forwarded-For {client_ip}
|
||||||
|
header_up X-Forwarded-Proto https
|
||||||
|
header_up X-Forwarded-Host {host}
|
||||||
|
header_up X-Real-IP {client_ip}
|
||||||
|
header_up Host {host}
|
||||||
|
}
|
||||||
|
}
|
||||||
@@ -0,0 +1,8 @@
|
|||||||
|
FROM caddy:builder AS builder
|
||||||
|
RUN xcaddy build \
|
||||||
|
--with github.com/hslatman/caddy-crowdsec-bouncer/http \
|
||||||
|
--with github.com/mholt/caddy-ratelimit
|
||||||
|
|
||||||
|
FROM caddy:latest
|
||||||
|
COPY --from=builder /usr/bin/caddy /usr/bin/caddy
|
||||||
|
COPY Caddyfile /etc/caddy/Caddyfile
|
||||||
@@ -0,0 +1,10 @@
|
|||||||
|
filenames:
|
||||||
|
- /var/log/caddy/*.log
|
||||||
|
labels:
|
||||||
|
type: caddy
|
||||||
|
---
|
||||||
|
source: docker
|
||||||
|
container_name:
|
||||||
|
- nextcloud
|
||||||
|
labels:
|
||||||
|
type: nextcloud
|
||||||
@@ -0,0 +1,66 @@
|
|||||||
|
services:
|
||||||
|
crowdsec:
|
||||||
|
image: crowdsecurity/crowdsec:latest
|
||||||
|
restart: always
|
||||||
|
environment:
|
||||||
|
GID: "1000"
|
||||||
|
COLLECTIONS: crowdsecurity/caddy crowdsecurity/linux crowdsecurity/nextcloud
|
||||||
|
volumes:
|
||||||
|
- /var/run/docker.sock:/var/run/docker.sock:ro
|
||||||
|
- ./crowdsec/acquis.yaml:/etc/crowdsec/acquis.yaml:ro
|
||||||
|
- crowdsec_db:/var/lib/crowdsec/data
|
||||||
|
- caddy_logs:/var/log/caddy:ro
|
||||||
|
networks:
|
||||||
|
- proxy
|
||||||
|
healthcheck:
|
||||||
|
test: ["CMD", "cscli", "version"]
|
||||||
|
interval: 10s
|
||||||
|
timeout: 5s
|
||||||
|
retries: 5
|
||||||
|
|
||||||
|
caddy:
|
||||||
|
build:
|
||||||
|
context: .
|
||||||
|
dockerfile: Dockerfile
|
||||||
|
restart: always
|
||||||
|
ports:
|
||||||
|
- "80:80"
|
||||||
|
- "443:443"
|
||||||
|
volumes:
|
||||||
|
- ./Caddyfile:/etc/caddy/Caddyfile
|
||||||
|
- caddy_data:/data
|
||||||
|
- caddy_config:/config
|
||||||
|
- caddy_logs:/var/log/caddy
|
||||||
|
environment:
|
||||||
|
CROWDSEC_API_KEY: ${CROWDSEC_API_KEY}
|
||||||
|
depends_on:
|
||||||
|
crowdsec:
|
||||||
|
condition: service_healthy
|
||||||
|
networks:
|
||||||
|
- proxy
|
||||||
|
- immich_default
|
||||||
|
- zitadel
|
||||||
|
- vw_default
|
||||||
|
- zipline_default
|
||||||
|
|
||||||
|
volumes:
|
||||||
|
crowdsec_db:
|
||||||
|
caddy_data:
|
||||||
|
caddy_config:
|
||||||
|
caddy_logs:
|
||||||
|
|
||||||
|
networks:
|
||||||
|
proxy:
|
||||||
|
driver: bridge
|
||||||
|
immich_default:
|
||||||
|
external: true
|
||||||
|
name: immich_default
|
||||||
|
zitadel:
|
||||||
|
external: true
|
||||||
|
name: zitadel
|
||||||
|
vw_default:
|
||||||
|
external: true
|
||||||
|
name: vw_default
|
||||||
|
zipline_default:
|
||||||
|
external: true
|
||||||
|
name: zipline_default
|
||||||
@@ -0,0 +1,59 @@
|
|||||||
|
services:
|
||||||
|
immich-server:
|
||||||
|
container_name: immich_server
|
||||||
|
image: ghcr.io/immich-app/immich-server:${IMMICH_VERSION:-release}
|
||||||
|
volumes:
|
||||||
|
- ${UPLOAD_LOCATION}:/data
|
||||||
|
- /etc/localtime:/etc/localtime:ro
|
||||||
|
env_file:
|
||||||
|
- .env
|
||||||
|
depends_on:
|
||||||
|
- redis
|
||||||
|
- database
|
||||||
|
restart: always
|
||||||
|
healthcheck:
|
||||||
|
disable: false
|
||||||
|
networks:
|
||||||
|
- default
|
||||||
|
- proxy
|
||||||
|
|
||||||
|
immich-machine-learning:
|
||||||
|
container_name: immich_machine_learning
|
||||||
|
image: ghcr.io/immich-app/immich-machine-learning:${IMMICH_VERSION:-release}
|
||||||
|
volumes:
|
||||||
|
- model-cache:/cache
|
||||||
|
env_file:
|
||||||
|
- .env
|
||||||
|
restart: always
|
||||||
|
healthcheck:
|
||||||
|
disable: false
|
||||||
|
|
||||||
|
redis:
|
||||||
|
container_name: immich_redis
|
||||||
|
image: docker.io/valkey/valkey:9@sha256:3b55fbaa0cd93cf0d9d961f405e4dfcc70efe325e2d84da207a0a8e6d8fde4f9
|
||||||
|
healthcheck:
|
||||||
|
test: redis-cli ping || exit 1
|
||||||
|
restart: always
|
||||||
|
|
||||||
|
database:
|
||||||
|
container_name: immich_postgres
|
||||||
|
image: ghcr.io/immich-app/postgres:14-vectorchord0.4.3-pgvectors0.2.0@sha256:bcf63357191b76a916ae5eb93464d65c07511da41e3bf7a8416db519b40b1c23
|
||||||
|
environment:
|
||||||
|
POSTGRES_PASSWORD: ${DB_PASSWORD}
|
||||||
|
POSTGRES_USER: ${DB_USERNAME}
|
||||||
|
POSTGRES_DB: ${DB_DATABASE_NAME}
|
||||||
|
POSTGRES_INITDB_ARGS: '--data-checksums'
|
||||||
|
volumes:
|
||||||
|
- ${DB_DATA_LOCATION}:/var/lib/postgresql/data
|
||||||
|
shm_size: 128mb
|
||||||
|
restart: always
|
||||||
|
healthcheck:
|
||||||
|
disable: false
|
||||||
|
|
||||||
|
volumes:
|
||||||
|
model-cache:
|
||||||
|
|
||||||
|
networks:
|
||||||
|
proxy:
|
||||||
|
external: true
|
||||||
|
name: caddy_proxy
|
||||||
Executable
+11
@@ -0,0 +1,11 @@
|
|||||||
|
#!/sbin/openrc-run
|
||||||
|
|
||||||
|
name="moxiuweb"
|
||||||
|
description="moxiu website"
|
||||||
|
command="node"
|
||||||
|
command_args="/root/website/build"
|
||||||
|
directory="/root/website"
|
||||||
|
pidfile="/run/moxiuweb.pid"
|
||||||
|
command_background=true
|
||||||
|
|
||||||
|
export PORT=3001
|
||||||
@@ -0,0 +1,39 @@
|
|||||||
|
services:
|
||||||
|
vaultwarden:
|
||||||
|
image: vaultwarden/server:latest
|
||||||
|
container_name: vaultwarden
|
||||||
|
restart: always
|
||||||
|
depends_on:
|
||||||
|
- db
|
||||||
|
networks:
|
||||||
|
- vw_default
|
||||||
|
- caddy_proxy
|
||||||
|
ports:
|
||||||
|
- "6769:80"
|
||||||
|
volumes:
|
||||||
|
- ./vw-data:/data
|
||||||
|
environment:
|
||||||
|
- ADMIN_TOKEN=xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
|
||||||
|
- DOMAIN=https://vw.vacpro.fyi
|
||||||
|
- SIGNUPS_ALLOWED=false
|
||||||
|
# db post
|
||||||
|
- DATABASE_URL=postgresql://vaultwarden:xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx@db/vaultwarden
|
||||||
|
|
||||||
|
db:
|
||||||
|
image: postgres:16-alpine
|
||||||
|
container_name: vaultwarden-db
|
||||||
|
restart: always
|
||||||
|
environment:
|
||||||
|
POSTGRES_USER: vaultwarden
|
||||||
|
POSTGRES_PASSWORD: xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
|
||||||
|
POSTGRES_DB: vaultwarden
|
||||||
|
volumes:
|
||||||
|
- ./pg-data:/var/lib/postgresql/data
|
||||||
|
networks:
|
||||||
|
- vw_default
|
||||||
|
|
||||||
|
networks:
|
||||||
|
vw_default:
|
||||||
|
external: true
|
||||||
|
caddy_proxy:
|
||||||
|
external: true
|
||||||
@@ -0,0 +1,48 @@
|
|||||||
|
services:
|
||||||
|
postgresql:
|
||||||
|
image: postgres:16
|
||||||
|
restart: unless-stopped
|
||||||
|
env_file:
|
||||||
|
- .env
|
||||||
|
environment:
|
||||||
|
POSTGRES_USER: ${POSTGRESQL_USER:-zipline}
|
||||||
|
POSTGRES_PASSWORD: ${POSTGRESQL_PASSWORD:?POSTGRESSQL_PASSWORD is required}
|
||||||
|
POSTGRES_DB: ${POSTGRESQL_DB:-zipline}
|
||||||
|
volumes:
|
||||||
|
- pgdata:/var/lib/postgresql/data
|
||||||
|
healthcheck:
|
||||||
|
test: ['CMD', 'pg_isready', '-U', 'zipline']
|
||||||
|
interval: 10s
|
||||||
|
timeout: 5s
|
||||||
|
retries: 5
|
||||||
|
|
||||||
|
zipline:
|
||||||
|
image: ghcr.io/diced/zipline
|
||||||
|
ports:
|
||||||
|
- '3005:3000'
|
||||||
|
env_file:
|
||||||
|
- .env
|
||||||
|
environment:
|
||||||
|
- DATABASE_URL=postgres://${POSTGRESQL_USER:-zipline}:${POSTGRESQL_PASSWORD}@postgresql:5432/${POSTGRESQL_DB:-zipline}
|
||||||
|
depends_on:
|
||||||
|
postgresql:
|
||||||
|
condition: service_healthy
|
||||||
|
volumes:
|
||||||
|
- './uploads:/zipline/uploads'
|
||||||
|
- './public:/zipline/public'
|
||||||
|
- './themes:/zipline/themes'
|
||||||
|
networks:
|
||||||
|
- caddy_proxy
|
||||||
|
- default
|
||||||
|
healthcheck:
|
||||||
|
test: ['CMD', 'wget', '-q', '--spider', 'http://localhost:3000/api/healthcheck']
|
||||||
|
interval: 15s
|
||||||
|
timeout: 2s
|
||||||
|
retries: 2
|
||||||
|
|
||||||
|
volumes:
|
||||||
|
pgdata:
|
||||||
|
|
||||||
|
networks:
|
||||||
|
caddy_proxy:
|
||||||
|
external: true
|
||||||
@@ -0,0 +1,103 @@
|
|||||||
|
# ⚠️ INSECURE DEFAULTS — for local development only.
|
||||||
|
# Before exposing this stack to a network, change ZITADEL_MASTERKEY,
|
||||||
|
# POSTGRES_ADMIN_PASSWORD, and POSTGRES_ZITADEL_PASSWORD.
|
||||||
|
# See: https://zitadel.com/docs/self-hosting/deploy/compose#homelab
|
||||||
|
|
||||||
|
# -----------------------------
|
||||||
|
# Domain and external URL
|
||||||
|
# -----------------------------
|
||||||
|
ZITADEL_DOMAIN=localhost
|
||||||
|
# Used by the base (non-TLS) compose; TLS overlays also publish 80/443 and may still expose
|
||||||
|
# this port unless their ports are adjusted.
|
||||||
|
PROXY_HTTP_PUBLISHED_PORT=8080
|
||||||
|
ZITADEL_EXTERNALPORT=8080
|
||||||
|
ZITADEL_EXTERNALSECURE=false
|
||||||
|
# Overridden by TLS overlays (they hardcode X-Forwarded-Proto: https).
|
||||||
|
ZITADEL_PUBLIC_SCHEME=http
|
||||||
|
|
||||||
|
# -----------------------------
|
||||||
|
# Security/bootstrap
|
||||||
|
# -----------------------------
|
||||||
|
# Must be exactly 32 chars for new deployments.
|
||||||
|
ZITADEL_MASTERKEY=MasterkeyNeedsToHave32Characters
|
||||||
|
LOGIN_CLIENT_PAT_EXPIRATION=2099-01-01T00:00:00Z
|
||||||
|
|
||||||
|
# -----------------------------
|
||||||
|
# Pinned image tags
|
||||||
|
# To upgrade ZITADEL, bump ZITADEL_VERSION and run:
|
||||||
|
# docker compose --env-file .env -f docker-compose.yml pull
|
||||||
|
# docker compose --env-file .env -f docker-compose.yml up -d --wait
|
||||||
|
# -----------------------------
|
||||||
|
ZITADEL_VERSION=v4.13.0
|
||||||
|
TRAEFIK_IMAGE=traefik:v3.6.8
|
||||||
|
POSTGRES_IMAGE=postgres:17.2-alpine
|
||||||
|
REDIS_IMAGE=redis:7.4.2-alpine
|
||||||
|
OTEL_COLLECTOR_IMAGE=otel/opentelemetry-collector-contrib:0.114.0
|
||||||
|
|
||||||
|
# -----------------------------
|
||||||
|
# Proxy settings
|
||||||
|
# -----------------------------
|
||||||
|
TRAEFIK_DASHBOARD_ENABLED=false
|
||||||
|
TRAEFIK_LOG_LEVEL=INFO
|
||||||
|
TRAEFIK_ACCESSLOG_ENABLED=true
|
||||||
|
# Trusted proxy IPs for X-Forwarded-* headers (external-tls mode).
|
||||||
|
# Comma-separated CIDR ranges of your upstream load balancer / reverse proxy.
|
||||||
|
TRAEFIK_TRUSTED_IPS=10.0.0.0/8,172.16.0.0/12,192.168.0.0/16
|
||||||
|
|
||||||
|
# Let's Encrypt mode
|
||||||
|
LETSENCRYPT_EMAIL=ops@example.com
|
||||||
|
|
||||||
|
# -----------------------------
|
||||||
|
# Postgres settings
|
||||||
|
# -----------------------------
|
||||||
|
POSTGRES_DB=zitadel
|
||||||
|
POSTGRES_ADMIN_USER=postgres
|
||||||
|
POSTGRES_ADMIN_PASSWORD=postgres
|
||||||
|
# DSN used by ZITADEL to connect to PostgreSQL.
|
||||||
|
# The start-from-init command uses this DSN to create the database schema and for
|
||||||
|
# normal operation. When a DSN is configured, ZITADEL does not create or switch
|
||||||
|
# to a separate unprivileged database user; the user in this DSN is used directly
|
||||||
|
# and must already exist. For production, configure this DSN to use a non-superuser
|
||||||
|
# role with only the permissions ZITADEL needs.
|
||||||
|
# See https://www.postgresql.org/docs/current/libpq-connect.html#LIBPQ-CONNSTRING
|
||||||
|
ZITADEL_DATABASE_POSTGRES_DSN=postgresql://postgres:postgres@postgres:5432/zitadel?sslmode=disable
|
||||||
|
|
||||||
|
# -----------------------------
|
||||||
|
# Access logs
|
||||||
|
# -----------------------------
|
||||||
|
ZITADEL_ACCESS_LOG_STDOUT_ENABLED=true
|
||||||
|
|
||||||
|
# -----------------------------
|
||||||
|
# Optional Redis cache settings
|
||||||
|
# Default is disabled.
|
||||||
|
# Enable with --profile cache and switch connectors to redis.
|
||||||
|
# -----------------------------
|
||||||
|
ZITADEL_CACHES_CONNECTORS_REDIS_ENABLED=false
|
||||||
|
# DSN used by ZITADEL to connect to Redis.
|
||||||
|
# See https://redis.io/docs/latest/develop/tools/cli/#host-port-password-and-database
|
||||||
|
ZITADEL_CACHES_CONNECTORS_REDIS_URL=redis://redis:6379/0
|
||||||
|
ZITADEL_CACHES_INSTANCE_CONNECTOR=
|
||||||
|
ZITADEL_CACHES_MILESTONES_CONNECTOR=
|
||||||
|
ZITADEL_CACHES_ORGANIZATION_CONNECTOR=
|
||||||
|
|
||||||
|
# -----------------------------
|
||||||
|
# Optional API tracing (OTEL)
|
||||||
|
# Default is disabled. Enable with --profile observability.
|
||||||
|
# The collector receives traces from ZITADEL on port 4317 (gRPC) and 4318 (HTTP)
|
||||||
|
# and logs them to stdout by default.
|
||||||
|
# To forward traces to your own backend (Grafana Tempo, Jaeger, OpenObserve, etc.),
|
||||||
|
# uncomment the otlp exporter in otel-collector-config.yaml and set:
|
||||||
|
# OTEL_BACKEND_ENDPOINT=http://your-backend:4317
|
||||||
|
# -----------------------------
|
||||||
|
ZITADEL_INSTRUMENTATION_SERVICENAME=zitadel-api
|
||||||
|
ZITADEL_INSTRUMENTATION_TRACE_EXPORTER_TYPE=none
|
||||||
|
ZITADEL_INSTRUMENTATION_TRACE_EXPORTER_ENDPOINT=otel-collector:4317
|
||||||
|
ZITADEL_INSTRUMENTATION_TRACE_EXPORTER_INSECURE=true
|
||||||
|
|
||||||
|
# -----------------------------
|
||||||
|
# Future Login OTEL placeholders
|
||||||
|
# Current login image may ignore these.
|
||||||
|
# -----------------------------
|
||||||
|
LOGIN_OTEL_SERVICE_NAME=zitadel-login
|
||||||
|
LOGIN_OTEL_EXPORTER_OTLP_ENDPOINT=
|
||||||
|
LOGIN_OTEL_EXPORTER_OTLP_PROTOCOL=grpc
|
||||||
@@ -0,0 +1,4 @@
|
|||||||
|
NEXT_PUBLIC_THEME_ROUNDNESS=edgy
|
||||||
|
NEXT_PUBLIC_THEME_LAYOUT=top-to-bottom
|
||||||
|
NEXT_PUBLIC_THEME_SPACING=regular
|
||||||
|
NEXT_PUBLIC_THEME_APPEARANCE=material
|
||||||
@@ -0,0 +1,240 @@
|
|||||||
|
name: zitadel
|
||||||
|
|
||||||
|
services:
|
||||||
|
proxy:
|
||||||
|
image: ${TRAEFIK_IMAGE}
|
||||||
|
restart: unless-stopped
|
||||||
|
command:
|
||||||
|
- --providers.docker=true
|
||||||
|
- --providers.docker.exposedbydefault=false
|
||||||
|
- --providers.docker.network=zitadel
|
||||||
|
- --entrypoints.web.address=:80
|
||||||
|
- --entrypoints.websecure.address=:443
|
||||||
|
- --api.dashboard=${TRAEFIK_DASHBOARD_ENABLED}
|
||||||
|
- --api.insecure=false
|
||||||
|
- --ping=true
|
||||||
|
- --ping.entrypoint=web
|
||||||
|
- --log.level=${TRAEFIK_LOG_LEVEL}
|
||||||
|
- --accesslog=${TRAEFIK_ACCESSLOG_ENABLED}
|
||||||
|
ports:
|
||||||
|
- ${PROXY_HTTP_PUBLISHED_PORT}:80
|
||||||
|
networks:
|
||||||
|
- zitadel
|
||||||
|
volumes:
|
||||||
|
- /var/run/docker.sock:/var/run/docker.sock:ro
|
||||||
|
depends_on:
|
||||||
|
zitadel-api:
|
||||||
|
condition: service_healthy
|
||||||
|
zitadel-login:
|
||||||
|
condition: service_healthy
|
||||||
|
|
||||||
|
zitadel-api:
|
||||||
|
image: ghcr.io/zitadel/zitadel:${ZITADEL_VERSION}
|
||||||
|
restart: unless-stopped
|
||||||
|
user: "0"
|
||||||
|
command: start-from-init --masterkey "${ZITADEL_MASTERKEY}"
|
||||||
|
environment:
|
||||||
|
ZITADEL_PORT: 8080
|
||||||
|
ZITADEL_EXTERNALDOMAIN: ${ZITADEL_DOMAIN}
|
||||||
|
ZITADEL_EXTERNALPORT: ${ZITADEL_EXTERNALPORT}
|
||||||
|
ZITADEL_EXTERNALSECURE: ${ZITADEL_EXTERNALSECURE}
|
||||||
|
ZITADEL_TLS_ENABLED: false
|
||||||
|
# admin
|
||||||
|
ZITADEL_FIRSTINSTANCE_ORG_HUMAN_USERNAME: "user1"
|
||||||
|
ZITADEL_FIRSTINSTANCE_ORG_HUMAN_PASSWORD: "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx"
|
||||||
|
ZITADEL_FIRSTINSTANCE_ORG_HUMAN_EMAIL_ADDRESS: "you@example.org"
|
||||||
|
ZITADEL_FIRSTINSTANCE_ORG_HUMAN_EMAIL_VERIFIED: true
|
||||||
|
ZITADEL_DATABASE_POSTGRES_DSN: ${ZITADEL_DATABASE_POSTGRES_DSN}
|
||||||
|
|
||||||
|
ZITADEL_FIRSTINSTANCE_ORG_HUMAN_PASSWORDCHANGEREQUIRED: false
|
||||||
|
ZITADEL_FIRSTINSTANCE_LOGINCLIENTPATPATH: /zitadel/bootstrap/login-client.pat
|
||||||
|
ZITADEL_FIRSTINSTANCE_ORG_LOGINCLIENT_MACHINE_USERNAME: login-client
|
||||||
|
ZITADEL_FIRSTINSTANCE_ORG_LOGINCLIENT_MACHINE_NAME: Automatically Initialized IAM_LOGIN_CLIENT
|
||||||
|
ZITADEL_FIRSTINSTANCE_ORG_LOGINCLIENT_PAT_EXPIRATIONDATE: ${LOGIN_CLIENT_PAT_EXPIRATION}
|
||||||
|
|
||||||
|
ZITADEL_DEFAULTINSTANCE_FEATURES_LOGINV2_REQUIRED: true
|
||||||
|
ZITADEL_DEFAULTINSTANCE_FEATURES_LOGINV2_BASEURI: ${ZITADEL_PUBLIC_SCHEME}://${ZITADEL_DOMAIN}:${ZITADEL_EXTERNALPORT}/ui/v2/login/
|
||||||
|
ZITADEL_OIDC_DEFAULTLOGINURLV2: ${ZITADEL_PUBLIC_SCHEME}://${ZITADEL_DOMAIN}:${ZITADEL_EXTERNALPORT}/ui/v2/login/login?authRequest=
|
||||||
|
ZITADEL_OIDC_DEFAULTLOGOUTURLV2: ${ZITADEL_PUBLIC_SCHEME}://${ZITADEL_DOMAIN}:${ZITADEL_EXTERNALPORT}/ui/v2/login/logout?post_logout_redirect=
|
||||||
|
ZITADEL_SAML_DEFAULTLOGINURLV2: ${ZITADEL_PUBLIC_SCHEME}://${ZITADEL_DOMAIN}:${ZITADEL_EXTERNALPORT}/ui/v2/login/login?samlRequest=
|
||||||
|
|
||||||
|
ZITADEL_LOGSTORE_ACCESS_STDOUT_ENABLED: ${ZITADEL_ACCESS_LOG_STDOUT_ENABLED}
|
||||||
|
|
||||||
|
ZITADEL_INSTRUMENTATION_TRACE_EXPORTER_TYPE: ${ZITADEL_INSTRUMENTATION_TRACE_EXPORTER_TYPE}
|
||||||
|
ZITADEL_INSTRUMENTATION_TRACE_EXPORTER_ENDPOINT: ${ZITADEL_INSTRUMENTATION_TRACE_EXPORTER_ENDPOINT}
|
||||||
|
ZITADEL_INSTRUMENTATION_TRACE_EXPORTER_INSECURE: ${ZITADEL_INSTRUMENTATION_TRACE_EXPORTER_INSECURE}
|
||||||
|
ZITADEL_INSTRUMENTATION_SERVICENAME: ${ZITADEL_INSTRUMENTATION_SERVICENAME}
|
||||||
|
|
||||||
|
ZITADEL_CACHES_CONNECTORS_REDIS_ENABLED: ${ZITADEL_CACHES_CONNECTORS_REDIS_ENABLED}
|
||||||
|
ZITADEL_CACHES_CONNECTORS_REDIS_URL: ${ZITADEL_CACHES_CONNECTORS_REDIS_URL}
|
||||||
|
ZITADEL_CACHES_INSTANCE_CONNECTOR: ${ZITADEL_CACHES_INSTANCE_CONNECTOR}
|
||||||
|
ZITADEL_CACHES_MILESTONES_CONNECTOR: ${ZITADEL_CACHES_MILESTONES_CONNECTOR}
|
||||||
|
ZITADEL_CACHES_ORGANIZATION_CONNECTOR: ${ZITADEL_CACHES_ORGANIZATION_CONNECTOR}
|
||||||
|
|
||||||
|
healthcheck:
|
||||||
|
test:
|
||||||
|
- CMD
|
||||||
|
- /app/zitadel
|
||||||
|
- ready
|
||||||
|
interval: 10s
|
||||||
|
timeout: 30s
|
||||||
|
retries: 12
|
||||||
|
start_period: 20s
|
||||||
|
volumes:
|
||||||
|
- zitadel-bootstrap:/zitadel/bootstrap:rw
|
||||||
|
networks:
|
||||||
|
- zitadel
|
||||||
|
depends_on:
|
||||||
|
postgres:
|
||||||
|
condition: service_healthy
|
||||||
|
labels:
|
||||||
|
- traefik.enable=true
|
||||||
|
- traefik.docker.network=zitadel
|
||||||
|
|
||||||
|
- traefik.http.services.zitadel-api.loadbalancer.server.port=8080
|
||||||
|
- traefik.http.services.zitadel-api.loadbalancer.server.scheme=h2c
|
||||||
|
|
||||||
|
- traefik.http.middlewares.zitadel-strip-api.stripprefix.prefixes=/api
|
||||||
|
- traefik.http.middlewares.zitadel-strip-api.stripprefix.forceSlash=false
|
||||||
|
|
||||||
|
# Note: no dedicated gRPC router needed. All gRPC and Connect-RPC traffic
|
||||||
|
# is handled by the catch-all router below since the backend already uses h2c.
|
||||||
|
|
||||||
|
- traefik.http.routers.zitadel-api-alias-web.rule=Host(`${ZITADEL_DOMAIN}`) && PathPrefix(`/api`)
|
||||||
|
- traefik.http.routers.zitadel-api-alias-web.entrypoints=web
|
||||||
|
- traefik.http.routers.zitadel-api-alias-web.middlewares=zitadel-strip-api
|
||||||
|
- traefik.http.routers.zitadel-api-alias-web.service=zitadel-api
|
||||||
|
- traefik.http.routers.zitadel-api-alias-web.priority=200
|
||||||
|
|
||||||
|
- traefik.http.routers.zitadel-api-alias-websecure.rule=Host(`${ZITADEL_DOMAIN}`) && PathPrefix(`/api`)
|
||||||
|
- traefik.http.routers.zitadel-api-alias-websecure.entrypoints=websecure
|
||||||
|
- traefik.http.routers.zitadel-api-alias-websecure.tls=true
|
||||||
|
- traefik.http.routers.zitadel-api-alias-websecure.middlewares=zitadel-strip-api
|
||||||
|
- traefik.http.routers.zitadel-api-alias-websecure.service=zitadel-api
|
||||||
|
- traefik.http.routers.zitadel-api-alias-websecure.priority=200
|
||||||
|
|
||||||
|
- traefik.http.routers.zitadel-canonical-web.rule=Host(`${ZITADEL_DOMAIN}`) && !PathPrefix(`/ui/v2/login`) && !PathPrefix(`/api`) && !Path(`/`)
|
||||||
|
- traefik.http.routers.zitadel-canonical-web.entrypoints=web
|
||||||
|
- traefik.http.routers.zitadel-canonical-web.service=zitadel-api
|
||||||
|
- traefik.http.routers.zitadel-canonical-web.priority=100
|
||||||
|
|
||||||
|
- traefik.http.routers.zitadel-canonical-websecure.rule=Host(`${ZITADEL_DOMAIN}`) && !PathPrefix(`/ui/v2/login`) && !PathPrefix(`/api`) && !Path(`/`)
|
||||||
|
- traefik.http.routers.zitadel-canonical-websecure.entrypoints=websecure
|
||||||
|
- traefik.http.routers.zitadel-canonical-websecure.tls=true
|
||||||
|
- traefik.http.routers.zitadel-canonical-websecure.service=zitadel-api
|
||||||
|
- traefik.http.routers.zitadel-canonical-websecure.priority=100
|
||||||
|
|
||||||
|
zitadel-login:
|
||||||
|
image: ghcr.io/zitadel/zitadel-login:${ZITADEL_VERSION}
|
||||||
|
restart: unless-stopped
|
||||||
|
user: "0"
|
||||||
|
environment:
|
||||||
|
ZITADEL_API_URL: http://zitadel-api:8080
|
||||||
|
NEXT_PUBLIC_BASE_PATH: /ui/v2/login
|
||||||
|
ZITADEL_SERVICE_USER_TOKEN_FILE: /zitadel/bootstrap/login-client.pat
|
||||||
|
CUSTOM_REQUEST_HEADERS: Host:${ZITADEL_DOMAIN},X-Forwarded-Proto:${ZITADEL_PUBLIC_SCHEME}
|
||||||
|
|
||||||
|
# Future-ready placeholders for upcoming Login OTEL support.
|
||||||
|
OTEL_SERVICE_NAME: ${LOGIN_OTEL_SERVICE_NAME}
|
||||||
|
OTEL_EXPORTER_OTLP_ENDPOINT: ${LOGIN_OTEL_EXPORTER_OTLP_ENDPOINT}
|
||||||
|
OTEL_EXPORTER_OTLP_PROTOCOL: ${LOGIN_OTEL_EXPORTER_OTLP_PROTOCOL}
|
||||||
|
healthcheck:
|
||||||
|
test:
|
||||||
|
- CMD
|
||||||
|
- /bin/sh
|
||||||
|
- -c
|
||||||
|
- node /app/healthcheck.mjs http://localhost:3000/ui/v2/login/healthy
|
||||||
|
interval: 10s
|
||||||
|
timeout: 30s
|
||||||
|
retries: 12
|
||||||
|
start_period: 20s
|
||||||
|
volumes:
|
||||||
|
- zitadel-bootstrap:/zitadel/bootstrap:ro
|
||||||
|
networks:
|
||||||
|
- zitadel
|
||||||
|
depends_on:
|
||||||
|
zitadel-api:
|
||||||
|
condition: service_healthy
|
||||||
|
labels:
|
||||||
|
- traefik.enable=true
|
||||||
|
- traefik.docker.network=zitadel
|
||||||
|
- traefik.http.services.zitadel-login.loadbalancer.server.port=3000
|
||||||
|
|
||||||
|
- traefik.http.middlewares.zitadel-root-rewrite.replacepath.path=/ui/v2/login/
|
||||||
|
|
||||||
|
- traefik.http.routers.zitadel-root-web.rule=Host(`${ZITADEL_DOMAIN}`) && Path(`/`)
|
||||||
|
- traefik.http.routers.zitadel-root-web.entrypoints=web
|
||||||
|
- traefik.http.routers.zitadel-root-web.middlewares=zitadel-root-rewrite
|
||||||
|
- traefik.http.routers.zitadel-root-web.service=zitadel-login
|
||||||
|
- traefik.http.routers.zitadel-root-web.priority=400
|
||||||
|
|
||||||
|
- traefik.http.routers.zitadel-root-websecure.rule=Host(`${ZITADEL_DOMAIN}`) && Path(`/`)
|
||||||
|
- traefik.http.routers.zitadel-root-websecure.entrypoints=websecure
|
||||||
|
- traefik.http.routers.zitadel-root-websecure.tls=true
|
||||||
|
- traefik.http.routers.zitadel-root-websecure.middlewares=zitadel-root-rewrite
|
||||||
|
- traefik.http.routers.zitadel-root-websecure.service=zitadel-login
|
||||||
|
- traefik.http.routers.zitadel-root-websecure.priority=400
|
||||||
|
|
||||||
|
- traefik.http.routers.zitadel-login-web.rule=Host(`${ZITADEL_DOMAIN}`) && PathPrefix(`/ui/v2/login`)
|
||||||
|
- traefik.http.routers.zitadel-login-web.entrypoints=web
|
||||||
|
- traefik.http.routers.zitadel-login-web.service=zitadel-login
|
||||||
|
- traefik.http.routers.zitadel-login-web.priority=250
|
||||||
|
|
||||||
|
- traefik.http.routers.zitadel-login-websecure.rule=Host(`${ZITADEL_DOMAIN}`) && PathPrefix(`/ui/v2/login`)
|
||||||
|
- traefik.http.routers.zitadel-login-websecure.entrypoints=websecure
|
||||||
|
- traefik.http.routers.zitadel-login-websecure.tls=true
|
||||||
|
- traefik.http.routers.zitadel-login-websecure.service=zitadel-login
|
||||||
|
- traefik.http.routers.zitadel-login-websecure.priority=250
|
||||||
|
|
||||||
|
postgres:
|
||||||
|
image: ${POSTGRES_IMAGE}
|
||||||
|
restart: unless-stopped
|
||||||
|
environment:
|
||||||
|
POSTGRES_PASSWORD: ${POSTGRES_ADMIN_PASSWORD}
|
||||||
|
POSTGRES_USER: ${POSTGRES_ADMIN_USER}
|
||||||
|
POSTGRES_DB: ${POSTGRES_DB}
|
||||||
|
healthcheck:
|
||||||
|
test:
|
||||||
|
- CMD-SHELL
|
||||||
|
- pg_isready -d ${POSTGRES_DB} -U ${POSTGRES_ADMIN_USER}
|
||||||
|
interval: 10s
|
||||||
|
timeout: 30s
|
||||||
|
retries: 10
|
||||||
|
start_period: 20s
|
||||||
|
volumes:
|
||||||
|
- postgres-data:/var/lib/postgresql/data:rw
|
||||||
|
networks:
|
||||||
|
- zitadel
|
||||||
|
|
||||||
|
redis:
|
||||||
|
image: ${REDIS_IMAGE}
|
||||||
|
restart: unless-stopped
|
||||||
|
profiles:
|
||||||
|
- cache
|
||||||
|
command:
|
||||||
|
- --save
|
||||||
|
- ""
|
||||||
|
- --appendonly
|
||||||
|
- "no"
|
||||||
|
networks:
|
||||||
|
- zitadel
|
||||||
|
|
||||||
|
otel-collector:
|
||||||
|
image: ${OTEL_COLLECTOR_IMAGE}
|
||||||
|
restart: unless-stopped
|
||||||
|
profiles:
|
||||||
|
- observability
|
||||||
|
command:
|
||||||
|
- --config=/etc/otelcol/config.yaml
|
||||||
|
volumes:
|
||||||
|
- ./otel-collector-config.yaml:/etc/otelcol/config.yaml:ro
|
||||||
|
networks:
|
||||||
|
- zitadel
|
||||||
|
|
||||||
|
networks:
|
||||||
|
zitadel:
|
||||||
|
name: zitadel
|
||||||
|
|
||||||
|
volumes:
|
||||||
|
postgres-data:
|
||||||
|
zitadel-bootstrap:
|
||||||
Vendored
+3
@@ -18,3 +18,6 @@
|
|||||||
# alias mv='mv -i'
|
# alias mv='mv -i'
|
||||||
export EDITOR=nvim
|
export EDITOR=nvim
|
||||||
export VISUAL=nvim
|
export VISUAL=nvim
|
||||||
|
. "$HOME/.cargo/env"
|
||||||
|
export PATH="$HOME/.cargo/bin:$PATH"
|
||||||
|
eval "$(starship init bash)"
|
||||||
|
|||||||
+1
@@ -0,0 +1 @@
|
|||||||
|
source "$HOME/.cargo/env.fish"
|
||||||
Vendored
+1
-4
@@ -4,12 +4,9 @@ end
|
|||||||
|
|
||||||
starship init fish | source
|
starship init fish | source
|
||||||
|
|
||||||
# exports
|
|
||||||
# exports
|
|
||||||
#set -gx PATH $HOME/.local/bin $PATH
|
|
||||||
|
|
||||||
# exports
|
# exports
|
||||||
set -gx PATH $HOME/.local/bin $PATH
|
set -gx PATH $HOME/.local/bin $PATH
|
||||||
|
fish_add_path $HOME/.cargo/bin
|
||||||
|
|
||||||
# disable greet
|
# disable greet
|
||||||
set --erase fish_greeting
|
set --erase fish_greeting
|
||||||
|
|||||||
Vendored
+1
@@ -29,3 +29,4 @@ SETUVAR fish_pager_color_description:B3A06D\x1eyellow\x1e\x2di
|
|||||||
SETUVAR fish_pager_color_prefix:normal\x1e\x2d\x2dbold\x1e\x2d\x2dunderline
|
SETUVAR fish_pager_color_prefix:normal\x1e\x2d\x2dbold\x1e\x2d\x2dunderline
|
||||||
SETUVAR fish_pager_color_progress:brwhite\x1e\x2d\x2dbackground\x3dcyan
|
SETUVAR fish_pager_color_progress:brwhite\x1e\x2d\x2dbackground\x3dcyan
|
||||||
SETUVAR fish_pager_color_selected_background:\x2dr
|
SETUVAR fish_pager_color_selected_background:\x2dr
|
||||||
|
SETUVAR fish_user_paths:/root/\x2ecargo/bin
|
||||||
|
|||||||
Vendored
+42
@@ -0,0 +1,42 @@
|
|||||||
|
vacpro.fyi {
|
||||||
|
reverse_proxy 10.0.0.2 {
|
||||||
|
header_up X-Forwarded-Proto https
|
||||||
|
header_up Host {host}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
photos.vacpro.fyi {
|
||||||
|
reverse_proxy 10.0.0.2:80 {
|
||||||
|
header_up X-Forwarded-Proto https
|
||||||
|
header_up Host {host}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
zita.vacpro.fyi {
|
||||||
|
reverse_proxy 10.0.0.2:80 {
|
||||||
|
header_up X-Forwarded-Proto https
|
||||||
|
header_up Host {host}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
vw.vacpro.fyi {
|
||||||
|
reverse_proxy 10.0.0.2:80 {
|
||||||
|
header_up X-Forwarded-Proto https
|
||||||
|
header_up Host {host}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
status.vacpro.fyi {
|
||||||
|
reverse_proxy localhost:3002 {
|
||||||
|
header_up X-Forwarded-Proto https
|
||||||
|
header_up Host {host}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
moxiu.vacpro.fyi {
|
||||||
|
reverse_proxy 10.0.0.2:80 {
|
||||||
|
header_up X-Forwarded-Proto https
|
||||||
|
header_up Host {host}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
zip.vacpro.fyi {
|
||||||
|
reverse_proxy 10.0.0.2:80 {
|
||||||
|
header_up X-Forwarded-Proto https
|
||||||
|
header_up Host {host}
|
||||||
|
}
|
||||||
|
}
|
||||||
Vendored
+35
@@ -0,0 +1,35 @@
|
|||||||
|
endpoints:
|
||||||
|
- name: website (moxiu's website)
|
||||||
|
url: "https://moxiu.vacpro.fyi"
|
||||||
|
interval: 65s
|
||||||
|
conditions:
|
||||||
|
- "[STATUS] == 200"
|
||||||
|
- "[RESPONSE_TIME] < 10000"
|
||||||
|
|
||||||
|
- name: photos
|
||||||
|
url: "https://photos.vacpro.fyi"
|
||||||
|
interval: 65s
|
||||||
|
conditions:
|
||||||
|
- "[STATUS] == 200"
|
||||||
|
- "[RESPONSE_TIME] < 10000"
|
||||||
|
|
||||||
|
- name: zipline
|
||||||
|
url: "https://zip.vacpro.fyi"
|
||||||
|
interval: 65s
|
||||||
|
conditions:
|
||||||
|
- "[STATUS] == 200"
|
||||||
|
- "[RESPONSE_TIME] < 10000"
|
||||||
|
|
||||||
|
- name: vw
|
||||||
|
url: "https://vw.vacpro.fyi"
|
||||||
|
interval: 65s
|
||||||
|
conditions:
|
||||||
|
- "[STATUS] == 200"
|
||||||
|
- "[RESPONSE_TIME] < 10000"
|
||||||
|
|
||||||
|
- name: zitadel
|
||||||
|
url: "https://zita.vacpro.fyi"
|
||||||
|
interval: 65s
|
||||||
|
conditions:
|
||||||
|
- "[STATUS] == 200"
|
||||||
|
- "[RESPONSE_TIME] < 10000"
|
||||||
Vendored
+10
@@ -0,0 +1,10 @@
|
|||||||
|
services:
|
||||||
|
gatus:
|
||||||
|
image: twinproduction/gatus:stable
|
||||||
|
container_name: gatus
|
||||||
|
volumes:
|
||||||
|
- ./data:/data
|
||||||
|
- ./config.yaml:/config/config.yaml:ro
|
||||||
|
restart: always
|
||||||
|
ports:
|
||||||
|
- "3002:8080"
|
||||||
Reference in New Issue
Block a user