oneuptime/master/docker-compose.yml aktualisiert
This commit is contained in:
1 parent
11d7bcc509
commit
f192eed221
1 file changed
+21
-10
@@ -1,14 +1,25 @@
|
||||
version: '3.8'
|
||||
|
||||
services:
|
||||
# 1. OneUptime App-Core: Zentraler Application-Server und Dashboard
|
||||
oneuptime:
|
||||
image: oneuptime/app:${ONEUPTIME_VERSION:-latest}
|
||||
container_name: oneuptime-master
|
||||
# 1. OneUptime Ingress: Nginx-basiertes Gateway (Behebt den Express 404 Fehler)
|
||||
oneuptime-ingress:
|
||||
image: oneuptime/ingress:${ONEUPTIME_VERSION:-latest}
|
||||
container_name: oneuptime-ingress
|
||||
restart: ${RESTART_POLICY:-always}
|
||||
ports:
|
||||
- "${HOST_PORT_HTTP:-7080}:80"
|
||||
- "${HOST_PORT_HTTPS:-4433}:443"
|
||||
environment:
|
||||
- TZ=${TIMEZONE:-Europe/Berlin}
|
||||
depends_on:
|
||||
- oneuptime
|
||||
|
||||
# 2. OneUptime App-Core: Zentraler Application-Server und API
|
||||
oneuptime:
|
||||
image: oneuptime/app:${ONEUPTIME_VERSION:-latest}
|
||||
container_name: oneuptime-master
|
||||
restart: ${RESTART_POLICY:-always}
|
||||
# Ports werden hier nicht mehr nach außen geöffnet, da der Ingress das übernimmt
|
||||
environment:
|
||||
- CONTAINER_NAME=oneuptime
|
||||
- PORT=80
|
||||
@@ -16,7 +27,7 @@ services:
|
||||
- APP_NAME=${APP_NAME:-OneUptime}
|
||||
- TZ=${TIMEZONE:-Europe/Berlin}
|
||||
|
||||
# Routing-Variablen gegen "Cannot GET /"
|
||||
# Routing-Variablen angepasst an das Ingress-Gateway
|
||||
- HOST=${ONEUPTIME_HOST:-localhost:7080}
|
||||
- HTTP_PROTOCOL=${ONEUPTIME_PROTOCOL:-http}
|
||||
|
||||
@@ -44,7 +55,7 @@ services:
|
||||
- oneuptime-redis
|
||||
- oneuptime-clickhouse
|
||||
|
||||
# 2. PostgreSQL: Relationale Konfigurationsdatenbank
|
||||
# 3. PostgreSQL: Relationale Konfigurationsdatenbank
|
||||
oneuptime-postgres:
|
||||
image: postgres:${POSTGRES_VERSION:-15-alpine}
|
||||
container_name: oneuptime-postgres
|
||||
@@ -57,7 +68,7 @@ services:
|
||||
volumes:
|
||||
- ${POSTGRES_DATA_DIR:-/opt/docker/oneuptime/postgres}:/var/lib/postgresql/data
|
||||
|
||||
# 3. Redis: In-Memory-Datenbank für Caching & Queues
|
||||
# 4. Redis: In-Memory-Datenbank für Caching & Queues
|
||||
oneuptime-redis:
|
||||
image: redis:${REDIS_VERSION:-7-alpine}
|
||||
container_name: oneuptime-redis
|
||||
@@ -68,7 +79,7 @@ services:
|
||||
volumes:
|
||||
- ${REDIS_DATA_DIR:-/opt/docker/oneuptime/redis}:/data
|
||||
|
||||
# 4. ClickHouse: Analysedatenbank für Log-Daten und Metriken
|
||||
# 5. ClickHouse: Analysedatenbank für Log-Daten und Metriken
|
||||
oneuptime-clickhouse:
|
||||
image: clickhouse/clickhouse-server:${CLICKHOUSE_VERSION:-latest}
|
||||
container_name: oneuptime-clickhouse
|
||||
@@ -82,9 +93,9 @@ services:
|
||||
soft: 262144
|
||||
hard: 262144
|
||||
volumes:
|
||||
- ${CLICKHOUSE_DATA_DIR:-/opt/docker/oneuptime/clickhouse}:/var/lib/house
|
||||
- ${CLICKHOUSE_DATA_DIR:-/opt/docker/oneuptime/clickhouse}:/var/lib/clickhouse
|
||||
|
||||
# 5. OneUptime Probe: Der integrierte Satellit für die Überprüfungen vor Ort
|
||||
# 6. OneUptime Probe: Der integrierte Satellit für die Überprüfungen vor Ort
|
||||
oneuptime-probe:
|
||||
image: oneuptime/probe:${ONEUPTIME_VERSION:-latest}
|
||||
container_name: oneuptime-probe
|
||||
|
||||
Reference in new issue
Block a user