oneuptime/master/docker-compose.yml aktualisiert

This commit is contained in:
thomas committed 2026-10-21 19:06:21 +00:00
1 parent f441dfd249
commit c3c0479065
1 file changed
+17 -5
+17 -5
View File
@@ -1,13 +1,13 @@
version: '3.8' version: '3.8'
services: services:
# 1. OneUptime App-Core: Zentraler Application-Server und Dashboard (KORRIGIERTES REPO) # 1. OneUptime App-Core: Zentraler Application-Server und Dashboard
oneuptime: oneuptime:
image: oneuptime/app:${ONEUPTIME_VERSION:-latest} image: oneuptime/app:${ONEUPTIME_VERSION:-latest}
container_name: oneuptime-master container_name: oneuptime-master
restart: ${RESTART_POLICY:-always} restart: ${RESTART_POLICY:-always}
ports: ports:
- "${HOST_PORT_HTTP:-8080}:80" - "${HOST_PORT_HTTP:-7080}:80"
- "${HOST_PORT_HTTPS:-4433}:443" - "${HOST_PORT_HTTPS:-4433}:443"
environment: environment:
- CONTAINER_NAME=oneuptime - CONTAINER_NAME=oneuptime
@@ -25,7 +25,7 @@ services:
- oneuptime-redis - oneuptime-redis
- oneuptime-clickhouse - oneuptime-clickhouse
# 2. PostgreSQL: Offizielles relationales Datenbank-Repository # 2. PostgreSQL: Primäre relationale Datenbank für Konfigurationen und Benutzerdaten
oneuptime-postgres: oneuptime-postgres:
image: postgres:${POSTGRES_VERSION:-15-alpine} image: postgres:${POSTGRES_VERSION:-15-alpine}
container_name: oneuptime-postgres container_name: oneuptime-postgres
@@ -38,7 +38,7 @@ services:
volumes: volumes:
- ${POSTGRES_DATA_DIR:-/opt/docker/oneuptime/postgres}:/var/lib/postgresql/data - ${POSTGRES_DATA_DIR:-/opt/docker/oneuptime/postgres}:/var/lib/postgresql/data
# 3. Redis: Offizielles In-Memory-Repository (Alternativ: valkey/valkey:7-alpine) # 3. Redis: In-Memory-Datenbank für Caching, Echtzeit-Events und Job-Queues
oneuptime-redis: oneuptime-redis:
image: redis:${REDIS_VERSION:-7-alpine} image: redis:${REDIS_VERSION:-7-alpine}
container_name: oneuptime-redis container_name: oneuptime-redis
@@ -49,7 +49,7 @@ services:
volumes: volumes:
- ${REDIS_DATA_DIR:-/opt/docker/oneuptime/redis}:/data - ${REDIS_DATA_DIR:-/opt/docker/oneuptime/redis}:/data
# 4. ClickHouse: Offizielles spaltenorientiertes Datenbank-Repository # 4. ClickHouse: Spaltenorientierte Datenbank für massenhafte Log-Daten und Metriken
oneuptime-clickhouse: oneuptime-clickhouse:
image: clickhouse/clickhouse-server:${CLICKHOUSE_VERSION:-latest} image: clickhouse/clickhouse-server:${CLICKHOUSE_VERSION:-latest}
container_name: oneuptime-clickhouse container_name: oneuptime-clickhouse
@@ -62,3 +62,15 @@ services:
hard: 262144 hard: 262144
volumes: volumes:
- ${CLICKHOUSE_DATA_DIR:-/opt/docker/oneuptime/clickhouse}:/var/lib/clickhouse - ${CLICKHOUSE_DATA_DIR:-/opt/docker/oneuptime/clickhouse}:/var/lib/clickhouse
# 5. OneUptime Probe: Der integrierte Satellit, der die eigentlichen Überprüfungen (Pings/HTTP) ausführt
oneuptime-probe:
image: oneuptime/probe:${ONEUPTIME_VERSION:-latest}
container_name: oneuptime-probe
restart: ${RESTART_POLICY:-always}
environment:
- TZ=${TIMEZONE:-Europe/Berlin}
# Kommuniziert intern im Docker-Netzwerk direkt mit dem App-Core
- ONEUPTIME_URL=http://oneuptime:${INTERNAL_PORT:-80}
depends_on:
- oneuptime