add monitoring and tracing for ocis_traefik

This commit is contained in:
Willy Kloucek
2020-12-23 13:18:22 +01:00
parent d964f2f6b1
commit 1b6d8d6c52
3 changed files with 22 additions and 2 deletions
+5
View File
@@ -15,3 +15,8 @@ TRAEFIK_ACME_MAIL=
OCIS_DOCKER_TAG=
# Domain of oCIS, where you can find the frontend. Defaults to "ocis.owncloud.test"
OCIS_DOMAIN=
# If you want to use debugging and tracing with this stack:
# you need to enable
# please follow docs for this
#COMPOSE_FILE=docker-compose.yml:monitoring_tracing/docker-compose-additions.yml
@@ -5,7 +5,7 @@ services:
traefik:
image: "traefik:v2.3"
networks:
default:
ocis-net:
aliases:
- ${OCIS_DOMAIN:-ocis.owncloud.test}
command:
@@ -43,7 +43,7 @@ services:
ocis:
image: owncloud/ocis:${OCIS_DOCKER_TAG:-latest}
networks:
default:
ocis-net:
environment:
OCIS_URL: https://${OCIS_DOMAIN:-ocis.owncloud.test}
OCIS_LOG_LEVEL: ${OCIS_LOG_LEVEL:-error} # make oCIS less verbose
@@ -68,3 +68,6 @@ services:
volumes:
certs:
ocis-data:
networks:
ocis-net:
@@ -0,0 +1,12 @@
---
version: "3.7"
services:
ocis:
environment:
OCIS_TRACING_ENABLED: "true"
OCIS_TRACING_ENDPOINT: jaeger-agent:6831
networks:
ocis-net:
external: true