oneuptime/master/docker-compose.yml aktualisiert

This commit is contained in:
thomas committed 2026-10-21 20:01:31 +00:00
1 parent b7f5ad262a
commit 36fea9d22a
1 file changed
+6 -3
+6 -3
View File
@@ -1,26 +1,29 @@
version: '3.8' version: '3.8'
services: services:
# 1. OneUptime Gateway: Offizielles Nginx Ingress # 1. OneUptime Ingress: Das offizielle Nginx-Gateway (wichtig für die Assets)
oneuptime-ingress: oneuptime-ingress:
image: oneuptime/nginx:${ONEUPTIME_VERSION:-release} image: oneuptime/nginx:${ONEUPTIME_VERSION:-release}
container_name: oneuptime-ingress container_name: oneuptime-ingress
restart: ${RESTART_POLICY:-always} restart: ${RESTART_POLICY:-always}
ports: ports:
# Dein Load Balancer greift auf Port 7080 deines Docker-Hosts zu
- "${HOST_PORT_HTTP:-7080}:8080" - "${HOST_PORT_HTTP:-7080}:8080"
- "${HOST_PORT_HTTPS:-4433}:4430" - "${HOST_PORT_HTTPS:-4433}:4430"
environment: environment:
- TZ=${TIMEZONE:-Europe/Berlin} - TZ=${TIMEZONE:-Europe/Berlin}
# Diese Variablen sind für das Nginx-Skript zwingend erforderlich
- NGINX_LISTEN_ADDRESS=${NGINX_LISTEN_ADDRESS:-0.0.0.0:} - NGINX_LISTEN_ADDRESS=${NGINX_LISTEN_ADDRESS:-0.0.0.0:}
- NGINX_LISTEN_OPTIONS=${NGINX_LISTEN_OPTIONS:-} - NGINX_LISTEN_OPTIONS=${NGINX_LISTEN_OPTIONS:-}
- SERVER_APP_HOSTNAME=${SERVER_APP_HOSTNAME:-app} - SERVER_APP_HOSTNAME=${SERVER_APP_HOSTNAME:-app}
- APP_PORT=${APP_PORT:-3002} - APP_PORT=${APP_PORT:-3002}
- SERVER_HOME_HOSTNAME=${SERVER_HOME_HOSTNAME:-home} - SERVER_HOME_HOSTNAME=${SERVER_HOME_HOSTNAME:-home}
- HOME_PORT=${HOME_PORT:-1444} - HOME_PORT=${HOME_PORT:-1444}
- HOST=${ONEUPTIME_HOST:-localhost:7080}
depends_on: depends_on:
- oneuptime - oneuptime
# 2. OneUptime App-Core: Zentraler Application-Server und API # 2. OneUptime App-Core: Zentraler Backend- und API-Server
oneuptime: oneuptime:
image: oneuptime/app:${ONEUPTIME_VERSION:-release} image: oneuptime/app:${ONEUPTIME_VERSION:-release}
container_name: oneuptime-master container_name: oneuptime-master
@@ -36,7 +39,7 @@ services:
- APP_NAME=${APP_NAME:-OneUptime} - APP_NAME=${APP_NAME:-OneUptime}
- TZ=${TIMEZONE:-Europe/Berlin} - TZ=${TIMEZONE:-Europe/Berlin}
# Routing-Parameter (Muss exakt mit der URL im Browser übereinstimmen) # Routing-Parameter für das Ingress-Gateway
- HOST=${ONEUPTIME_HOST:-localhost:7080} - HOST=${ONEUPTIME_HOST:-localhost:7080}
- HTTP_PROTOCOL=${ONEUPTIME_PROTOCOL:-http} - HTTP_PROTOCOL=${ONEUPTIME_PROTOCOL:-http}
- SERVER_APP_HOSTNAME=${SERVER_APP_HOSTNAME:-app} - SERVER_APP_HOSTNAME=${SERVER_APP_HOSTNAME:-app}