From ccebb8ef41a7630421f71f5b6e584fe8b986f81b Mon Sep 17 00:00:00 2001 From: Thodi Date: Fri, 15 May 2026 07:04:12 +0000 Subject: [PATCH] Aktueller Stand! --- .gitignore | 3 +++ dashy/compose.yml | 30 ++++++++++++++++++++++++++++++ glances/compose.yml | 30 ++++++++++++++++++++++++++++++ vaultwarden/compose.yml | 38 ++++++++++++++++++++++++++++++++++++++ watchtower/compose.yml | 23 +++++++++++++++++++++++ 5 files changed, 124 insertions(+) create mode 100644 dashy/compose.yml create mode 100644 glances/compose.yml create mode 100644 vaultwarden/compose.yml create mode 100644 watchtower/compose.yml diff --git a/.gitignore b/.gitignore index fdbf274..7bb71b6 100644 --- a/.gitignore +++ b/.gitignore @@ -1,6 +1,9 @@ # Alles ignorieren * +# Außer Ordner +!*/ + # Außer compose files !**/docker-compose.yml !**/compose.yml diff --git a/dashy/compose.yml b/dashy/compose.yml new file mode 100644 index 0000000..b614c43 --- /dev/null +++ b/dashy/compose.yml @@ -0,0 +1,30 @@ +services: + dashy: + container_name: dashy + image: lissy93/dashy:latest + restart: unless-stopped + environment: + - NODE_ENV=production + - TZ=Europe/Berlin + volumes: + - /docker/dashy/conf.yml:/app/public/conf.yml + - /docker/dashy/conf.yml:/app/user-data/conf.yml + networks: + - vps_network + ports: + - 4000:8080 + deploy: + resources: + limits: + cpus: '0.5' + memory: 512M + logging: + driver: "json-file" + options: + max-size: "10m" + max-file: "3" + +networks: + vps_network: + external: true + name: vps_network diff --git a/glances/compose.yml b/glances/compose.yml new file mode 100644 index 0000000..479083b --- /dev/null +++ b/glances/compose.yml @@ -0,0 +1,30 @@ +services: + glances: + image: nicolargo/glances:latest + container_name: glances + restart: unless-stopped + pid: host + ports: + - 61208:61208 + environment: + - GLANCES_OPT=-w + - TZ=Europe/Berlin + volumes: + - /var/run/docker.sock:/var/run/docker.sock:ro + networks: + - vps_network + deploy: + resources: + limits: + cpus: '0.5' + memory: 512M + logging: + driver: "json-file" + options: + max-size: "10m" + max-file: "3" + +networks: + vps_network: + external: true + name: vps_network diff --git a/vaultwarden/compose.yml b/vaultwarden/compose.yml new file mode 100644 index 0000000..3574ca2 --- /dev/null +++ b/vaultwarden/compose.yml @@ -0,0 +1,38 @@ +services: + vaultwarden: + image: vaultwarden/server:latest + container_name: vaultwarden + restart: unless-stopped + env_file: + - .env + environment: + - TZ=Europe/Berlin + - DOMAIN=https://vault.thodirr.net + - SIGNUPS_ALLOWED=false + - ADMIN_TOKEN=${ADMIN_TOKEN} + - DOMAIN=https://vault.thodirr.net + volumes: + - /docker/vaultwarden/data:/data + networks: + - vps_network + deploy: + resources: + limits: + cpus: '0.5' + memory: 256M + healthcheck: + test: ["CMD", "curl", "-f", "http://localhost:80"] + interval: 30s + timeout: 10s + retries: 5 + start_period: 30s + logging: + driver: "json-file" + options: + max-size: "10m" + max-file: "3" + +networks: + vps_network: + external: true + name: vps_network diff --git a/watchtower/compose.yml b/watchtower/compose.yml new file mode 100644 index 0000000..ecde88c --- /dev/null +++ b/watchtower/compose.yml @@ -0,0 +1,23 @@ +services: + watchtower: + image: containrrr/watchtower + container_name: watchtower + restart: unless-stopped + volumes: + - /var/run/docker.sock:/var/run/docker.sock + environment: + - WATCHTOWER_MONITOR_ONLY=true + - WATCHTOWER_POLL_INTERVAL=86400 + - WATCHTOWER_CLEANUP=true + - TZ=Europe/Berlin + - DOCKER_API_VERSION=1.45 + deploy: + resources: + limits: + cpus: '0.5' + memory: 128M + logging: + driver: "json-file" + options: + max-size: "10m" + max-file: "3"